Class NegativeCycleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.thomas.graphs.Weighted.NegativeCycleException
- All Implemented Interfaces:
Serializable
-
Constructor Summary
ConstructorsConstructorDescriptionDefualt constructorNegativeCycleException(String message) Constructor that accepts a custom message -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NegativeCycleException
public NegativeCycleException()Defualt constructor -
NegativeCycleException
Constructor that accepts a custom message- Parameters:
message- The message
-