Package one.microstream.util.traversing
Class AbstractTraversalSignal
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
one.microstream.util.traversing.AbstractTraversalSignal
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractTraversalSkipSignal
,TraversalSignalAbort
public abstract class AbstractTraversalSignal extends RuntimeException
This type should actually extend
Throwable
, not Runtime
. But sadly, the prior is checked,
which is a flawed concept in Java and prevent proper functional programming.
Also, this type should be an interface instead of a class.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractTraversalSignal()
-
Method Summary
Modifier and Type Method Description AbstractTraversalSignal
fillInStackTrace()
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AbstractTraversalSignal
protected AbstractTraversalSignal()
-
-
Method Details
-
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-