org.dvb.auth.callback
Class UnsupportedCallbackException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.dvb.auth.callback.UnsupportedCallbackException
All Implemented Interfaces:
java.io.Serializable

public class UnsupportedCallbackException
extends java.lang.Exception

Thrown when a callback handler is asked to handle a callback which it cannot handle.

See Also:
Serialized Form

Constructor Summary
UnsupportedCallbackException(Callback callback)
          Creates a new instance of UnsupportedCallbackException without detail message.
UnsupportedCallbackException(Callback callback, java.lang.String msg)
          Constructs an instance of UnsupportedCallbackException with the specified detail message.
 
Method Summary
 Callback getCallback()
          Returns the Callback passed in to the constructor.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsupportedCallbackException

public UnsupportedCallbackException(Callback callback)
Creates a new instance of UnsupportedCallbackException without detail message.

Parameters:
callback - the callback which cannot be handled

UnsupportedCallbackException

public UnsupportedCallbackException(Callback callback,
                                    java.lang.String msg)
Constructs an instance of UnsupportedCallbackException with the specified detail message.

Parameters:
callback - the callback which cannot be handled
msg - the detail message.
Method Detail

getCallback

public Callback getCallback()
Returns the Callback passed in to the constructor.

Returns:
a callback