com.datecs.api.emsr
Class EMSRException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.datecs.api.emsr.EMSRException
All Implemented Interfaces:
java.io.Serializable

public class EMSRException
extends java.io.IOException

Encrypted magnetic stripe reader exception class.

See Also:
Serialized Form

Constructor Summary
EMSRException(int status)
          Create a new instance of EMSRException class.
 
Method Summary
 int getStatusCode()
          Get status code that cause this exception.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EMSRException

public EMSRException(int status)
Create a new instance of EMSRException class.

Parameters:
status - the status that cause the exception.
Method Detail

getStatusCode

public int getStatusCode()
Get status code that cause this exception.

Returns:
the status code.