org.apache.commons.graph
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.GraphException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PathNotFoundException

public class GraphException
extends RuntimeException

GraphException This is the superclass of all exceptions that can be thrown.

See Also:
Serialized Form

Constructor Summary
GraphException()
          Constructs a new graph exception.
GraphException(String msg)
          Constructs a new graph exception with the specified detail message.
GraphException(String msg, Throwable cause)
          Constructs a new graph exception with the specified detail message and cause.
GraphException(Throwable cause)
          Constructs a new graph exception with the specified 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()
Constructs a new graph exception.


GraphException

public GraphException(String msg)
Constructs a new graph exception with the specified detail message.

Parameters:
msg - the detail message.

GraphException

public GraphException(Throwable cause)
Constructs a new graph exception with the specified cause.

Parameters:
cause - the cause

GraphException

public GraphException(String msg,
                      Throwable cause)
Constructs a new graph exception with the specified detail message and cause.

Parameters:
msg - the detail message.
cause - the cause


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.