public class MonetaryException extends RuntimeException
| Constructor and Description |
|---|
MonetaryException(String message)
Creates an instance.
|
MonetaryException(String message,
Throwable cause)
Creates an instance with the specified detail message and cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MonetaryException(String message)
message - the messagepublic MonetaryException(String message, Throwable cause)
message - the detail message (which is saved for later retrieval by the
Throwable.getMessage() method).cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value
is permitted, and indicates that the cause is nonexistent or
unknown.)Copyright © 2012–2016 JSR 354 - Expert Group. All rights reserved.