Class IdException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.io7m.idstore.error_codes.IdException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IdAClientException, IdDatabaseException, IdPasswordException, IdProtocolException, IdSecurityException, IdServerException, IdUClientException

public class IdException extends Exception
The base type of exceptions.
See Also:
  • Constructor Details

    • IdException

      public IdException(IdErrorCode inErrorCode, String message)
      Construct an exception.
      Parameters:
      inErrorCode - The error code
      message - The message
    • IdException

      public IdException(IdErrorCode inErrorCode, String message, Throwable cause)
      Construct an exception.
      Parameters:
      inErrorCode - The error code
      message - The message
      cause - The cause
    • IdException

      public IdException(IdErrorCode inErrorCode, Throwable cause)
      Construct an exception.
      Parameters:
      inErrorCode - The error code
      cause - The cause
  • Method Details

    • errorCode

      public final IdErrorCode errorCode()
      Returns:
      The error code