nz.ac.waikato.jdsl.graph.api
Class GraphException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by nz.ac.waikato.jdsl.graph.api.GraphException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InvalidEdgeException, InvalidQueryException, InvalidVertexException, NoSuchEdgeException, NoSuchVertexException

public class GraphException
extends java.lang.RuntimeException

nz.ac.waikato.jdsl.graph.api package. Not intended ever to be instantiated directly. GraphExceptions (and its subclasses) 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 Benoit Hudson
See Also:
Throwable, Serialized Form

Constructor Summary
GraphException(java.lang.String message)
           
GraphException(java.lang.String message, java.lang.Throwable cause)
           
GraphException(java.lang.Throwable cause)
           
 
Method Summary
 
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
 

Constructor Detail

GraphException

public GraphException(java.lang.String message)

GraphException

public GraphException(java.lang.String message,
                      java.lang.Throwable cause)

GraphException

public GraphException(java.lang.Throwable cause)


Copyright © 2009 ModelJUnit Project. All Rights Reserved.