public class ConversionException extends Exception
Constructor and Description |
---|
ConversionException(String message)
The custom exception class for Currency Conversion.
|
ConversionException(String message,
Throwable cause)
The custom exception class for Currency Conversion.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
@Nonnull public ConversionException(@Nonnull String message)
message
- This is the message that comes from the exception that occurred while performing the conversion.@Nonnull public ConversionException(@Nonnull String message, @Nonnull Throwable cause)
message
- This is the message that comes from the exception that occurred while performing the conversion.cause
- This is the cause that comes from the exception that occurred while performing the conversion.Copyright © 2020 SAP SE. All rights reserved.