|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.lang.IllegalStateException org.exolab.castor.mapping.MappingRuntimeException
An exception indicating an invalid mapping error. This exception extends IllegalStateException so that it can be used to replace current uses of IllegalStateException within the mapping framework. This exception is used when a nested exception needs to be reported.
Constructor Summary | |
MappingRuntimeException(java.lang.String message)
Creates a new MappingRuntimeException |
|
MappingRuntimeException(java.lang.String message,
java.lang.Object[] args)
Creates a new MappingRuntimeException |
|
MappingRuntimeException(java.lang.Throwable exception)
Creates a new MappingRuntimeException |
|
MappingRuntimeException(java.lang.Throwable exception,
java.lang.String message)
Creates a new MappingRuntimeException |
Method Summary | |
java.lang.Throwable |
getException()
Returns the Exception which caused this Exception, or null if no nested exception exists. |
void |
printStackTrace()
|
void |
printStackTrace(java.io.PrintStream print)
|
void |
printStackTrace(java.io.PrintWriter print)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MappingRuntimeException(java.lang.String message)
message
- the error messagepublic MappingRuntimeException(java.lang.String message, java.lang.Object[] args)
message
- the error messagepublic MappingRuntimeException(java.lang.Throwable exception)
exception
- the Exception which caused this Exception.public MappingRuntimeException(java.lang.Throwable exception, java.lang.String message)
exception
- the Exception which caused this Exception.message
- the error messageMethod Detail |
public java.lang.Throwable getException()
public void printStackTrace()
public void printStackTrace(java.io.PrintStream print)
public void printStackTrace(java.io.PrintWriter print)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |