|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.util.exception.AbstractExceptionDataWriter
public abstract class AbstractExceptionDataWriter
Base class for exception data writer concrete implementations.
| Constructor Summary | |
|---|---|
AbstractExceptionDataWriter()
|
|
| Method Summary | |
|---|---|
protected abstract void |
endException()
Exception end |
protected int |
getStop(ExceptionData data)
Get the stop condition, by default, it is the first different index. |
protected abstract void |
printMessage(java.lang.String message)
Print message for an exception |
protected abstract void |
printStackTraceEntry(int line,
java.lang.String entry)
Print an stack trace entry |
protected abstract void |
startException(boolean start)
Exception starts |
void |
write(java.lang.Throwable throwable)
Write the stack trace information about the given Throwable instance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractExceptionDataWriter()
| Method Detail |
|---|
public final void write(java.lang.Throwable throwable)
throws java.io.IOException
write in interface ExceptionDataWriterthrowable - A not-null Throwable instance
java.io.IOExceptionprotected int getStop(ExceptionData data)
protected abstract void startException(boolean start)
throws java.io.IOException
start - true if this is the first exception; false otherwise
java.io.IOException
protected abstract void endException()
throws java.io.IOException
java.io.IOException
protected abstract void printMessage(java.lang.String message)
throws java.io.IOException
message - A not-null String instance
java.io.IOException
protected abstract void printStackTraceEntry(int line,
java.lang.String entry)
throws java.io.IOException
pos - The nonnegative line positionentry - A not-null String instance
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||