com.unitech.lib.diagnostics

## Class ReaderException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - com.unitech.lib.diagnostics.ReaderException

- All Implemented Interfaces:
    Serializable

      public class ReaderException
      extends Exception

  The exception class and contain result code
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ReaderException(ResultCode code)`
    `ReaderException(ResultCode code, String message)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ResultCode` | `getCode()` Get fault and motion results.
    `String` | `toString()`

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

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

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ReaderException

          public ReaderException(ResultCode code)

    - #### ReaderException

          public ReaderException(ResultCode code,
                                 String message)

  - ### Method Detail

    - #### getCode

          public ResultCode getCode()

      Get fault and motion results.
      Returns:
        The ResultCode enumeration that represents the failure and the result of the operation.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Throwable`