public class TimeStampException extends Exception
A TimeStampException
can contain a cause: another throwable that
caused this TimeStampException
to get thrown.
Constructor and Description |
---|
TimeStampException()
Constructs a new
TimeStampException with null as
its detail message. |
TimeStampException(String message)
Constructs a new
TimeStampException with the specified detail
message. |
TimeStampException(String message,
Throwable cause)
Constructs a new
TimeStampException with the specified detail
message and cause. |
TimeStampException(Throwable cause)
Constructs a new
TimeStampToken with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause ). |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Returns the cause of this
FilterException or null
if the cause is nonexistent or unknown. |
void |
printStackTrace() |
void |
printStackTrace(PrintStream s) |
void |
printStackTrace(PrintWriter s) |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public TimeStampException()
TimeStampException
with null
as
its detail message.public TimeStampException(String message)
TimeStampException
with the specified detail
message.message
- the detail messagepublic TimeStampException(String message, Throwable cause)
TimeStampException
with the specified detail
message and cause.message
- the detail messagecause
- the cause (A null
value is permitted, and indicates
that the cause is nonexistent or unknown.)public TimeStampException(Throwable cause)
TimeStampToken
with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause
).cause
- the cause (A null
value is permitted, and indicates
that the cause is nonexistent or unknown.)public void printStackTrace(PrintWriter s)
printStackTrace
in class Throwable
Throwable.printStackTrace(java.io.PrintWriter)
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
Throwable.printStackTrace(java.io.PrintStream)
public void printStackTrace()
printStackTrace
in class Throwable
Throwable.printStackTrace()
public Throwable getCause()
FilterException
or null
if the cause is nonexistent or unknown. (The cause is the throwable that
caused this FilterException
to get thrown.)© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC