Package com.hotels.transformer.error
Class InvalidFunctionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.hotels.transformer.error.InvalidFunctionException
-
- All Implemented Interfaces:
Serializable
public class InvalidFunctionException extends RuntimeException
Invalid transformation function exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidFunctionException(String message, Throwable cause)
Constructs a new invalid function transformer exception with the specified detail message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidFunctionException
public InvalidFunctionException(String message, Throwable cause)
Constructs a new invalid function transformer exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable)
.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.cause
- the given transformation function is not valid for the given object.
-
-