Serializable
public class MorphException
extends org.apache.commons.lang.exception.NestableRuntimeException
Morpher.morph()
has failed to complete successfully.Modifier and Type | Field | Description |
---|---|---|
protected Throwable |
cause |
The root cause of this
ConversionException , compatible
with JDK 1.4's extensions to java.lang.Throwable . |
Constructor | 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 | Description |
---|---|---|
Throwable |
getCause() |
Returns the cause of this exception.
|
getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fillInStackTrace, getLocalizedMessage, getStackTrace, 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 class org.apache.commons.lang.exception.NestableRuntimeException
Copyright © 2006–2019. All rights reserved.