@Immutable public abstract class ControlFlowException extends Error
Error
rather than a
RuntimeException
just to prevent it from being accidentally catched.FsControllerException
and changed
super class from IOException
.Constructor and Description |
---|
ControlFlowException() |
ControlFlowException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Throwable |
fillInStackTrace()
Fills in an empty stack trace for optimum performance.
|
static boolean |
isTraceable()
Returns
true if and only if a control flow exception should have
a full stack trace instead of an empty stack trace. |
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ControlFlowException()
public ControlFlowException(@CheckForNull Throwable cause)
public Throwable fillInStackTrace()
Throwable
!fillInStackTrace
in class Throwable
this
public static boolean isTraceable()
true
if and only if a control flow exception should have
a full stack trace instead of an empty stack trace.
If and only if the system property with the key string
de.schlichtherle.truezip.util.ControlFlowException.traceable
is set to true
(whereby case is ignored), then instances of this
class will have a regular stack trace, otherwise their stack trace will
be empty.
Note that this should be set to true
for debugging purposes only.true
if and only if a control flow exception should have
a full stack trace instead of an empty stack trace.Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.