nz.ac.waikato.jdsl.graph.algo
Class AnachronismException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nz.ac.waikato.jdsl.graph.algo.AnachronismException
- All Implemented Interfaces:
- java.io.Serializable
public class AnachronismException
- extends java.lang.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
,
Serialized Form
Constructor Summary |
AnachronismException(java.lang.String msg)
A constructor that takes a String that (hopefully) contains a
relevant message about the circumstances under which this
exception was thrown. |
AnachronismException(java.lang.String message,
java.lang.Throwable cause)
|
AnachronismException(java.lang.Throwable cause)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AnachronismException
public AnachronismException(java.lang.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(java.lang.String message,
java.lang.Throwable cause)
AnachronismException
public AnachronismException(java.lang.Throwable cause)
Copyright © 2009 ModelJUnit Project. All Rights Reserved.