org.jrdf.graph
Class GraphException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jrdf.graph.GraphException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GraphElementFactoryException

public class GraphException
extends Exception

Exception from an Graph operation.

Version:
$Revision: 1804 $
Author:
Simon Raboczi
See Also:
Serialized Form

Constructor Summary
protected GraphException()
           
  GraphException(String message)
          Create an exception.
  GraphException(String message, Throwable newCause)
          Create a wrapper exception.
  GraphException(Throwable newCause)
          Create a wrapper exception.
 
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

protected GraphException()

GraphException

public GraphException(String message)
Create an exception.

Parameters:
message - the message to wrap inside this exception.

GraphException

public GraphException(Throwable newCause)
Create a wrapper exception.

Parameters:
newCause - the original exception to wrap.

GraphException

public GraphException(String message,
                      Throwable newCause)
Create a wrapper exception.

Parameters:
message - the message to wrap inside this exception.
newCause - the original exception to wrap.