Package com.io7m.sunburst.error_codes
Class SBException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.io7m.sunburst.error_codes.SBException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SBInventoryException,SBPeerException,SBRuntimeException
The base type of exceptions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSBException(SBErrorCode inErrorCode, String message) Construct an exception.SBException(SBErrorCode inErrorCode, String message, Throwable cause) Construct an exception.SBException(SBErrorCode inErrorCode, Throwable cause) Construct an exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SBException
Construct an exception.- Parameters:
inErrorCode- The error codemessage- The error message
-
SBException
Construct an exception.- Parameters:
inErrorCode- The error codemessage- The error messagecause- The cause
-
SBException
Construct an exception.- Parameters:
inErrorCode- The error codecause- The cause
-
-
Method Details
-
errorCode
- Returns:
- The error code
-