Class UsherConnectionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UsherConnectionException
    extends java.lang.Exception
    The Usher Server API request exception.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      UsherConnectionException​(int errorCode, java.lang.String message)
      The constructor with error code and string message
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getErrorCode()
      Get the error code of 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

      • UsherConnectionException

        public UsherConnectionException​(int errorCode,
                                        java.lang.String message)
        The constructor with error code and string message
        Parameters:
        errorCode - The errorCode that is defined inside the class
        message - The error message string
    • Method Detail

      • getErrorCode

        public int getErrorCode()
        Get the error code of this exception.
        Returns:
        The error code defined as the public constants in this class