Package jade.lang.acl

Class ACLCodec.CodecException

  • All Implemented Interfaces:
    Serializable
    Enclosing interface:
    ACLCodec

    public static class ACLCodec.CodecException
    extends 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 Detail

      • CodecException

        public CodecException​(String msg,
                              Throwable t)
        Construct a new CodecException
        Parameters:
        msg - The message for this exception.
        t - The exception wrapped by this object.
    • Method Detail

      • getNested

        public 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()
        Print the stack trace for this exception on the standard output stream.
        Overrides:
        printStackTrace in class Throwable