
com.frameworkset.platform.security.authentication.UnsupportedCallbackException Maven / Gradle / Ivy
package com.frameworkset.platform.security.authentication;
public class UnsupportedCallbackException extends Exception {
/**
* @serial
*/
private Callback callback;
/**
* Constructs a UnsupportedCallbackException
* with no detail message.
*
*
*
* @param callback the unrecognized Callback
.
*/
public UnsupportedCallbackException(Callback callback) {
super();
this.callback = callback;
}
/**
* Constructs a UnsupportedCallbackException with the specified detail
* message. A detail message is a String that describes this particular
* exception.
*
*
*
* @param callback the unrecognized Callback
.
*
* @param msg the detail message.
*/
public UnsupportedCallbackException(Callback callback, String msg) {
super(msg);
this.callback = callback;
}
/**
* Get the unrecognized Callback
.
*
*
*
* @return the unrecognized Callback
.
*/
public Callback getCallback() {
return callback;
}
}