java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.aoapps.lang.io.LocalizedIOException
com.aoapps.payments.ErrorCodeException
- All Implemented Interfaces:
LocalizedException
,Serializable
Extends
LocalizedIOException
to provide exceptions along with the corresponding error code.- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Fields inherited from class com.aoapps.lang.io.LocalizedIOException
args, key, resources
-
Constructor Summary
ConstructorDescriptionErrorCodeException
(TransactionResult.ErrorCode errorCode, String key) Creates a newErrorCodeException
.ErrorCodeException
(TransactionResult.ErrorCode errorCode, String key, Serializable... args) Creates a newErrorCodeException
.ErrorCodeException
(Throwable cause, TransactionResult.ErrorCode errorCode, String key) Creates a newErrorCodeException
.ErrorCodeException
(Throwable cause, TransactionResult.ErrorCode errorCode, String key, Serializable... args) Creates a newErrorCodeException
. -
Method Summary
Methods inherited from class com.aoapps.lang.io.LocalizedIOException
getArgs, getKey, getLocalizedMessage, getResources
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ErrorCodeException
Creates a newErrorCodeException
. -
ErrorCodeException
Creates a newErrorCodeException
. -
ErrorCodeException
Creates a newErrorCodeException
. -
ErrorCodeException
public ErrorCodeException(Throwable cause, TransactionResult.ErrorCode errorCode, String key, Serializable... args) Creates a newErrorCodeException
.
-
-
Method Details
-
getErrorCode
-