public final class WrongTransaction extends UserException
| Constructor and Description |
|---|
WrongTransaction()
Constructs a default
WrongTransaction exception, with
no detail message. |
WrongTransaction(String reason)
Constructs a
WrongTransaction exception using the specified
message as the reason for throwing it. |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic WrongTransaction()
WrongTransaction exception, with
no detail message.public WrongTransaction(String reason)
WrongTransaction exception using the specified
message as the reason for throwing it.reason - the reason, why the exception has been thrown.