|
||||||||||
| 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 | |
|---|---|
Exception |
subException
Pre-java 1.4 initial cause. |
| Constructor Summary | |
|---|---|
PoemException()
Constructor. |
|
PoemException(Exception subException)
Constructor. |
|
PoemException(String message)
Constructor with message. |
|
PoemException(String message,
Exception subException)
Constructor with message and initial cause. |
|
| Method Summary | |
|---|---|
String |
getCoreMessage()
|
String |
getMessage()
The detail message which may be null. |
Throwable |
initCause(Throwable cause)
No longer overrides standard method. |
Exception |
innermostException()
|
void |
printStackTrace()
|
void |
printStackTrace(PrintStream s)
|
void |
printStackTrace(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 Exception subException
| Constructor Detail |
|---|
public PoemException(Exception subException)
public PoemException()
public PoemException(String message,
Exception subException)
public PoemException(String message)
| Method Detail |
|---|
public Throwable initCause(Throwable cause)
initCause in class ThrowableThrowable.initCause(java.lang.Throwable)public String getCoreMessage()
public String getMessage()
getMessage in class ThrowableThrowable.getMessage()public Exception innermostException()
public void printStackTrace()
printStackTrace in class ThrowableThrowable.printStackTrace()public void printStackTrace(PrintStream s)
printStackTrace in class ThrowableThrowable.printStackTrace(java.io.PrintStream)public void printStackTrace(PrintWriter w)
printStackTrace in class ThrowableThrowable.printStackTrace(java.io.PrintWriter)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||