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