com.datecs.emsr

## Class EMSRException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.io.IOException
      - - com.datecs.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

    Constructors
    Constructor and Description
    `EMSRException(int status)` Create a new instance of `EMSRException` class.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getStatusCode()` Get status code that cause this exception.

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, 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.