Package fi.bitwards.service
Class BitwardsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fi.bitwards.service.BitwardsException
- All Implemented Interfaces:
Serializable
Bitwards service exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBitwardsException(String message) ConstructorBitwardsException(String message, Throwable t) ContructorConstructor -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BitwardsException
Constructor- Parameters:
message- the exception message
-
BitwardsException
Constructor- Parameters:
t- the throwable to include to this exception
-
BitwardsException
Contructor- Parameters:
message- the exception messaget- the throwable to include to this exception
-
-
Method Details
-
getErrorCode
public int getErrorCode()Get the error code for this exception.- Returns:
- the error code (see
BitwardsServiceERROR_* codes)
-