org.gersteinlab.tyna.core.graph
Class GraphTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.gersteinlab.tyna.core.graph.GraphTypeException
All Implemented Interfaces:
java.io.Serializable

public class GraphTypeException
extends java.lang.Exception

        This class represents an exception due to incorrect graph type. For
        example, when a file that allows multiple edges between a pair of nodes
        is read with isMulti being true.
        

Version:
1.0 (September 20, 2005) Change history: 1.0 - Initial version
Author:
Kevin Yip
See Also:
Serialized Form

Constructor Summary
GraphTypeException()
          Default constructor: create a new object without an error message.
GraphTypeException(java.lang.String message)
          Create a new object with an error message.
GraphTypeException(java.lang.String message, java.lang.Throwable cause)
          Create a new object with an error message and the cause of this exception.
GraphTypeException(java.lang.Throwable cause)
          Create a new object with the cause of this 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

GraphTypeException

public GraphTypeException()
Default constructor: create a new object without an error message.


GraphTypeException

public GraphTypeException(java.lang.String message)
Create a new object with an error message.

Parameters:
message - The error message

GraphTypeException

public GraphTypeException(java.lang.Throwable cause)
Create a new object with the cause of this exception.

Parameters:
cause - The cause of the exception

GraphTypeException

public GraphTypeException(java.lang.String message,
                          java.lang.Throwable cause)
Create a new object with an error message and the cause of this exception.

Parameters:
message - The error message
cause - The cause of the exception