FourMS
Class Malformed4MSMessageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by FourMS.Malformed4MSMessageException
All Implemented Interfaces:
java.io.Serializable

public class Malformed4MSMessageException
extends java.lang.Exception

Thrown in the case that a malformed 4MS message is received

See Also:
Serialized Form

Field Summary
 int CmdError
          Any 4MS command error associated with us not being able to interpret this error message
 
Constructor Summary
Malformed4MSMessageException(int cmdError, java.lang.String msg)
          Allows the user to set a command error when the exception is raised.
Malformed4MSMessageException(java.lang.String msg)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CmdError

public int CmdError
Any 4MS command error associated with us not being able to interpret this error message

Constructor Detail

Malformed4MSMessageException

public Malformed4MSMessageException(java.lang.String msg)
Parameters:
msg -

Malformed4MSMessageException

public Malformed4MSMessageException(int cmdError,
                                    java.lang.String msg)
Allows the user to set a command error when the exception is raised.

Parameters:
cmdError - This is the 4MS command associated with the exception
msg - This is the message associated with the exception