graph
Class NegativeWeightException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--graph.NegativeWeightException
All Implemented Interfaces:
java.io.Serializable

public class NegativeWeightException
extends java.lang.RuntimeException

Runtime exception thrown when a method discovers a negative weight in a graph that wasn't supposed to have negative weights.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
NegativeWeightException()
           
NegativeWeightException(java.lang.String err)
           
 
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

NegativeWeightException

public NegativeWeightException()

NegativeWeightException

public NegativeWeightException(java.lang.String err)