public class FormatException
extends java.lang.Exception
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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)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 toCopyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details