com.metamatrix.common.callback
Class UnsupportedCallbackException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.metamatrix.core.MetaMatrixCoreException
              extended by com.metamatrix.api.exception.MetaMatrixException
                  extended by com.metamatrix.common.callback.UnsupportedCallbackException
All Implemented Interfaces:
java.io.Serializable

public class UnsupportedCallbackException
extends MetaMatrixException

Exception which occurs if an error occurs within the server that is not business-related. For instance, if a service or bean is not available or communication fails.

See Also:
Serialized Form

Constructor Summary
UnsupportedCallbackException()
          No-arg costructor required by Externalizable semantics
UnsupportedCallbackException(Callback callback, java.lang.Exception e, java.lang.String message)
          Construct an instance from a message and an exception to chain to this one.
UnsupportedCallbackException(Callback callback, java.lang.String message)
          Construct an instance with the message specified.
 
Method Summary
 Callback getCallback()
           
 void readExternal(java.io.ObjectInput in)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class com.metamatrix.api.exception.MetaMatrixException
getChild, getCode, getFullMessage, getMessage, setCode, toString
 
Methods inherited from class com.metamatrix.core.MetaMatrixCoreException
getCause, initCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsupportedCallbackException

public UnsupportedCallbackException()
No-arg costructor required by Externalizable semantics


UnsupportedCallbackException

public UnsupportedCallbackException(Callback callback,
                                    java.lang.String message)
Construct an instance with the message specified.

Parameters:
callback - the callback instance that is not supported
message - A message describing the exception

UnsupportedCallbackException

public UnsupportedCallbackException(Callback callback,
                                    java.lang.Exception e,
                                    java.lang.String message)
Construct an instance from a message and an exception to chain to this one.

Parameters:
callback - the callback instance that is not supported
e - An exception to nest within this one
message - A message describing the exception
Method Detail

getCallback

public Callback getCallback()

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Overrides:
readExternal in class MetaMatrixException
Throws:
java.io.IOException
java.lang.ClassNotFoundException
See Also:
Externalizable.readExternal(java.io.ObjectInput)

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Overrides:
writeExternal in class MetaMatrixException
Throws:
java.io.IOException
See Also:
Externalizable.writeExternal(java.io.ObjectOutput)


Copyright © 2009. All Rights Reserved.