context.arch.comm.language
Class EncodeException

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

public class EncodeException
extends java.lang.Exception

This class implements the EncodeException. It is thrown if a parser can not encode a given message

See Also:
ParserObject.encodeData(DataObject), EncoderInterface.encodeData(DataObject), DecodeException, Serialized Form

Constructor Summary
EncodeException()
          Basic constructor for EncodeException with no message
EncodeException(java.lang.String message)
          Constructor for EncodeException 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

EncodeException

public EncodeException()
Basic constructor for EncodeException with no message

EncodeException

public EncodeException(java.lang.String message)
Constructor for EncodeException 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