public class MorphException
extends org.apache.commons.lang.exception.NestableRuntimeException
Morpher.morph()
has failed to complete successfully.Modifier and Type | Field and Description |
---|---|
protected Throwable |
cause
The root cause of this
ConversionException , compatible
with JDK 1.4's extensions to java.lang.Throwable . |
Constructor and Description |
---|
MorphException(String message)
Construct a new exception with the specified message.
|
MorphException(String message,
Throwable cause)
Construct a new exception with the specified message and root cause.
|
MorphException(Throwable cause)
Construct a new exception with the specified root cause.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Returns the cause of this exception.
|
getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
protected Throwable cause
ConversionException
, compatible
with JDK 1.4's extensions to java.lang.Throwable
.public MorphException(String message)
message
- The message describing this exceptionpublic MorphException(String message, Throwable cause)
message
- The message describing this exceptioncause
- The root cause of this exceptionpublic MorphException(Throwable cause)
cause
- The root cause of this exceptionpublic Throwable getCause()
getCause
in interface org.apache.commons.lang.exception.Nestable
getCause
in class org.apache.commons.lang.exception.NestableRuntimeException
Copyright © 2006–2021. All rights reserved.