|
||||||||||
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 com.bbn.openmap.io.FormatException
public class FormatException
This class is used for exceptions that result from some format errors of the data when using the BinaryFile.
Constructor Summary | |
---|---|
FormatException()
Construct a FormatException without a detail message. |
|
FormatException(java.lang.String s)
Construct a FormatException with a detail message. |
|
FormatException(java.lang.String s,
java.lang.Throwable rootCause)
Construct a FormatException with a detail message and root cause. |
Method Summary | |
---|---|
java.lang.Throwable |
getRootCause()
Returns the exception that caused this one. |
void |
printStackTrace()
Prints a backtrace of this exception and the rootCause (if any) to System.err. |
void |
printStackTrace(java.io.PrintStream ps)
Prints a backtrace of this exception and the rootCause (if any) to a stream. |
void |
printStackTrace(java.io.PrintWriter pw)
Prints a backtrace of this exception and the rootCause (if any) to a writer. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FormatException()
public FormatException(java.lang.String s)
s
- the detail messagepublic FormatException(java.lang.String s, java.lang.Throwable rootCause)
s
- the detail messagerootCause
- the root cause (not null)Method Detail |
---|
public java.lang.Throwable getRootCause()
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream ps)
printStackTrace
in class java.lang.Throwable
ps
- the stream to print topublic void printStackTrace(java.io.PrintWriter pw)
printStackTrace
in class java.lang.Throwable
pw
- the writer to print to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |