Package org.kordamp.ezmorph
Class MorphException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.kordamp.ezmorph.MorphException
-
- All Implemented Interfaces:
java.io.Serializable
public class MorphException extends java.lang.RuntimeExceptionA MorphException indicates that a call toMorpher.morph()has failed to complete successfully.
Based on common-beauntils ConversionException.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.ThrowablecauseThe root cause of thisConversionException, compatible with JDK 1.4's extensions tojava.lang.Throwable.
-
Constructor Summary
Constructors Constructor Description MorphException(java.lang.String message)Construct a new exception with the specified message.MorphException(java.lang.String message, java.lang.Throwable cause)Construct a new exception with the specified message and root cause.MorphException(java.lang.Throwable cause)Construct a new exception with the specified root cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablegetCause()Returns the cause of this exception.
-
-
-
Constructor Detail
-
MorphException
public MorphException(java.lang.String message)
Construct a new exception with the specified message.- Parameters:
message- The message describing this exception
-
MorphException
public MorphException(java.lang.String message, java.lang.Throwable cause)Construct a new exception with the specified message and root cause.- Parameters:
message- The message describing this exceptioncause- The root cause of this exception
-
MorphException
public MorphException(java.lang.Throwable cause)
Construct a new exception with the specified root cause.- Parameters:
cause- The root cause of this exception
-
-