public class TransactionException
extends java.lang.Exception
Constructor and Description |
---|
TransactionException(java.lang.String message)
A simple constructor to use when you do not have a Throwable to wrap against.
|
TransactionException(java.lang.String errorCode,
java.lang.String[] args)
A constructor that finds a string based on error code.
|
TransactionException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message and
cause.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorCode()
Returns the
errorCode set for the TransactionException . |
java.lang.String |
getMessage() |
public TransactionException(java.lang.String errorCode, java.lang.String[] args)
errorCode
- error code of the exceptionargs
- array containing value of place holderspublic TransactionException(java.lang.String message, java.lang.Throwable cause)
message
- message of the exceptioncause
- cause of the exceptionpublic TransactionException(java.lang.String message)
message
- The exception message.Copyright © 2010 - 2020 Adobe. All Rights Reserved