context.arch.comm.language
Class DecodeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--context.arch.comm.language.DecodeException

public class DecodeException
extends java.lang.Exception

This class implements the DecodeException. It is thrown if a parser can not decode a given message

See Also:
ParserObject.decodeData(Reader), DecoderInterface.decodeData(Reader), EncodeException, Serialized Form

Constructor Summary
DecodeException()
          Basic constructor for DecodeException with no message
DecodeException(java.lang.String message)
          Constructor for DecodeException with error message
 
Method Summary
 java.lang.String getMessage()
          Returns the error message
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DecodeException

public DecodeException()
Basic constructor for DecodeException with no message

DecodeException

public DecodeException(java.lang.String message)
Constructor for DecodeException with error message
Parameters:
message - Error message
Method Detail

getMessage

public java.lang.String getMessage()
Returns the error message
Overrides:
getMessage in class java.lang.Throwable
Returns:
the error message