|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.management.JMRuntimeException
javax.management.RuntimeErrorException
public class RuntimeErrorException
Thrown when a java.lang.error occurs.
Revisions:
20020313 Juha Lindfors:
20020711 Adrian Brock:
| Constructor Summary | |
|---|---|
RuntimeErrorException(Error e)
Construct a new RuntimeErrorException from a given error. |
|
RuntimeErrorException(Error e,
String message)
Construct a new RuntimeErrorException from a given error and message. |
|
| Method Summary | |
|---|---|
Throwable |
getCause()
Retrieves the wrapped error. |
Error |
getTargetError()
Retrieves the wrapped error. |
String |
toString()
Returns a string representation of this exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RuntimeErrorException(Error e)
e - the error to wrap.
public RuntimeErrorException(Error e,
String message)
e - the error to wrap.message - the specified message.| Method Detail |
|---|
public Error getTargetError()
public Throwable getCause()
getCause in class Throwablepublic String toString()
toString in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||