jade.mtp
Class MTP.MTPException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--jade.mtp.MTP.MTPException

public static class MTP.MTPException
extends java.lang.Exception

Generic exception class for MTP errors.

See Also:
Serialized Form

Constructor Summary
MTP.MTPException(java.lang.String msg)
          Constructor for exception class.
MTP.MTPException(java.lang.String msg, java.lang.Throwable t)
          Constructor for exception class.
 
Method Summary
 java.lang.Throwable getNested()
          Reads the exception wrapped by this object.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MTP.MTPException

public MTP.MTPException(java.lang.String msg)
Constructor for exception class.
Parameters:
msg - A message detailing the cause of the exception.

MTP.MTPException

public MTP.MTPException(java.lang.String msg,
                        java.lang.Throwable t)
Constructor for exception class.
Parameters:
msg - A message detailing the cause of the exception.
t - The exception wrapped by this object.
Method Detail

getNested

public java.lang.Throwable getNested()
Reads the exception wrapped by this object.
Returns:
the Throwable object that is the exception thrown by the concrete MTP subsystem.