|
||||||||||
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 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 Throwable
Throwable.initCause(java.lang.Throwable)
public String getCoreMessage()
public String getMessage()
getMessage
in class Throwable
Throwable.getMessage()
public Exception innermostException()
public void printStackTrace()
printStackTrace
in class Throwable
Throwable.printStackTrace()
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
Throwable.printStackTrace(java.io.PrintStream)
public void printStackTrace(PrintWriter w)
printStackTrace
in class Throwable
Throwable.printStackTrace(java.io.PrintWriter)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |