|
||||||||||
| 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.melati.poem.PoemException
public abstract class PoemException
Base class for all Poem exceptions.
NOTE All POEM exceptions are unchecked.
| Field Summary | |
|---|---|
java.lang.Exception |
subException
Pre-java 1.4 initial cause. |
| Constructor Summary | |
|---|---|
PoemException()
Constructor. |
|
PoemException(java.lang.Exception subException)
Constructor. |
|
PoemException(java.lang.String message)
Constructor with message. |
|
PoemException(java.lang.String message,
java.lang.Exception subException)
Constructor with message and initial cause. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCoreMessage()
|
java.lang.String |
getMessage()
The detail message which may be null. |
java.lang.Throwable |
initCause(java.lang.Throwable cause)
No longer overrides standard method. |
java.lang.Exception |
innermostException()
|
void |
printStackTrace()
|
void |
printStackTrace(java.io.PrintStream s)
|
void |
printStackTrace(java.io.PrintWriter w)
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.Exception subException
| Constructor Detail |
|---|
public PoemException(java.lang.Exception subException)
public PoemException()
public PoemException(java.lang.String message,
java.lang.Exception subException)
public PoemException(java.lang.String message)
| Method Detail |
|---|
public java.lang.Throwable initCause(java.lang.Throwable cause)
initCause in class java.lang.ThrowableThrowable.initCause(java.lang.Throwable)public java.lang.String getCoreMessage()
public java.lang.String getMessage()
getMessage in class java.lang.ThrowableThrowable.getMessage()public java.lang.Exception innermostException()
public void printStackTrace()
printStackTrace in class java.lang.ThrowableThrowable.printStackTrace()public void printStackTrace(java.io.PrintStream s)
printStackTrace in class java.lang.ThrowableThrowable.printStackTrace(java.io.PrintStream)public void printStackTrace(java.io.PrintWriter w)
printStackTrace in class java.lang.ThrowableThrowable.printStackTrace(java.io.PrintWriter)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||