|
||||||||||
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
org.objectweb.jonathan.apis.kernel.InternalException
InternalExceptions are unexpected exceptions that may occur e.g., when some entities (kernel, binders, stub factories, ...), are incompatible or badly used.
Constructor Summary | |
InternalException()
Constructs a new InternalException with no detail message. |
|
InternalException(java.lang.String s)
Constructs a new InternalException with a detail message. |
|
InternalException(java.lang.Throwable throwable)
Builds an InternalException that wraps another exception. |
Method Summary | |
java.lang.String |
getMessage()
Returns the detail message of this InternalException. |
void |
printStackTrace()
Prints this InternalException and its backtrace to the standard error stream. |
void |
printStackTrace(java.io.PrintStream s)
Prints this InternalException and its backtrace to the specified print stream. |
void |
printStackTrace(java.io.PrintWriter s)
Prints this 'Throwable' and its backtrace to the specified print writer. |
java.lang.Throwable |
represents()
Returns the exception wrapped by this InternalException. |
java.lang.String |
toString()
Returns a short description of this InternalException. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public InternalException()
public InternalException(java.lang.String s)
public InternalException(java.lang.Throwable throwable)
Method Detail |
public java.lang.String getMessage()
If this exception represents another exception, the returned message is that of the represented exception.
public java.lang.String toString()
If this exception represents another exception, the returned description is that of the represented exception.
public void printStackTrace()
If this exception represents another exception, the printed description and backtrace are that of the represented exception.
public void printStackTrace(java.io.PrintStream s)
If this exception represents another exception, the printed description and backtrace are that of the represented exception.
s
- the print stream.public void printStackTrace(java.io.PrintWriter s)
If this exception represents another exception, the printed description and backtrace are that of the represented exception.
s
- the print writer.public java.lang.Throwable represents()
If this exception doesn't wrap any other exception, it returns itself.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |