|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.lowagie.text.DocumentException
Signals that an error has occurred in a Document.
BadElementException,
Document,
DocWriter,
DocListener,
Serialized Form| Field Summary | |
private Exception |
ex
|
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
| Constructor Summary | |
DocumentException()
Constructs a DocumentException whithout a message. |
|
DocumentException(Exception ex)
|
|
DocumentException(String message)
Constructs a DocumentException with a message. |
|
| Method Summary | |
String |
getLocalizedMessage()
and make sure we also produce a localized version |
String |
getMessage()
We print the message of the checked exception |
void |
printStackTrace()
we have to override this as well |
void |
printStackTrace(PrintStream s)
here we prefix, with s.print(), not s.println(), the stack trace with "ExceptionConverter:" |
void |
printStackTrace(PrintWriter s)
Again, we prefix the stack trace with "ExceptionConverter:" |
private static String |
split(String s)
|
String |
toString()
The toString() is changed to be prefixed with ExceptionConverter |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private Exception ex
| Constructor Detail |
public DocumentException(Exception ex)
public DocumentException()
DocumentException whithout a message.
public DocumentException(String message)
DocumentException with a message.
message - a message describing the exception| Method Detail |
public String getMessage()
public String getLocalizedMessage()
public String toString()
public void printStackTrace()
public void printStackTrace(PrintStream s)
public void printStackTrace(PrintWriter s)
private static String split(String s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||