jdsl.graph.algo
Class AnachronismException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jdsl.graph.algo.AnachronismException
- All Implemented Interfaces:
- Serializable
- public class AnachronismException
- extends RuntimeException
This is an exception thrown specifically by the DFS to signify that
an internal error has arisen in the computation of start/finish
times.
AnachronismExceptions can now take a "cause" to enhance the stack trace.
This should be used if a low-level exception was caught, but could not be
resolved -- so a higher-level exception (this) was thrown. The cause of an
exception can be any throwable object.
- Version:
- JDSL 2.1.1
- Author:
- David Ellis, based on a previous version by Keith Schmidt
- See Also:
Throwable
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AnachronismException
public AnachronismException(String msg)
- A constructor that takes a String that (hopefully) contains a
relevant message about the circumstances under which this
exception was thrown.
AnachronismException
public AnachronismException(String message,
Throwable cause)
AnachronismException
public AnachronismException(Throwable cause)