FileDocCategorySizeDatePackage
UnsupportedCallbackException.javaAPI DocAndroid 1.5 API2109Wed May 06 22:41:02 BST 2009javax.security.auth.callback

UnsupportedCallbackException

public class UnsupportedCallbackException extends Exception
Thrown when a {@link CallbackHandler} does not support a particular {@link Callback}.
since
Android 1.0

Fields Summary
private static final long
serialVersionUID
private Callback
callback
Constructors Summary
public UnsupportedCallbackException(Callback callback)
Creates a new exception instance and initializes it with just the unsupported {@code Callback}, but no error message.

param
callback the {@code Callback}


                                            
       
        super();
        this.callback = callback;
    
public UnsupportedCallbackException(Callback callback, String message)
Creates a new exception instance and initializes it with both the unsupported {@code Callback} and an error message.

param
callback the {@code Callback}
param
message the error message

        super(message);
        this.callback = callback;
    
Methods Summary
public javax.security.auth.callback.CallbackgetCallback()
Returns the unsupported {@code Callback} that triggered this exception.

return
the {@code Callback}

        return callback;