org.apache.commons.graph.exception
Class GraphException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.commons.graph.exception.GraphException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ContractVerificationException, CycleException, HyperGraphException, NegativeCycleException, NoPathException, StateMachineException

public class GraphException
extends java.lang.RuntimeException

See Also:
Serialized Form

Field Summary
private  java.lang.Throwable cause
           
 
Constructor Summary
GraphException()
          Constructor for the GraphException object
GraphException(java.lang.String msg)
          Constructor for the GraphException object
GraphException(java.lang.Throwable cause)
          Constructor for the GraphException object
 
Method Summary
 java.lang.Throwable getCause()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter w)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cause

private java.lang.Throwable cause
Constructor Detail

GraphException

public GraphException()
Constructor for the GraphException object


GraphException

public GraphException(java.lang.String msg)
Constructor for the GraphException object

Parameters:
msg -

GraphException

public GraphException(java.lang.Throwable cause)
Constructor for the GraphException object

Parameters:
cause -
Method Detail

getCause

public java.lang.Throwable getCause()
Overrides:
getCause in class java.lang.Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter w)
Overrides:
printStackTrace in class java.lang.Throwable