jade.lang.acl
Class ACLCodec.CodecException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--jade.lang.acl.ACLCodec.CodecException
Enclosing class:
ACLCodec

public static class ACLCodec.CodecException
extends java.lang.Exception

This exception is thrown when some problem occurs in the concrete parsing subsystem accessed through this interface. If an exception is thrown by the underlying parser, it is wrapped with a Codec.CodecException, which is then rethrown.

See Also:
Serialized Form

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

Constructor Detail

ACLCodec.CodecException

public ACLCodec.CodecException(java.lang.String msg,
                               java.lang.Throwable t)
Construct a new CodecException
Parameters:
msg - The message for this 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 parsing subsystem.

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable