Class InstanceCreationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.expediagroup.transformer.error.InstanceCreationException
- All Implemented Interfaces:
java.io.Serializable
public class InstanceCreationException
extends java.lang.RuntimeException
Instance creation exception class.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description InstanceCreationException(java.lang.String message, java.lang.Throwable cause)
Constructs a new instance creation 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
InstanceCreationException
public InstanceCreationException(java.lang.String message, java.lang.Throwable cause)Constructs a new instance creation exception with the specified detail message. The cause is the call of newInstance method throws an Exception.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.cause
- the given bean is not valid and caused an exception while copying the properties.
-