Class NegativeCycleException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.thomas.graphs.Weighted.NegativeCycleException
All Implemented Interfaces:
Serializable

public class NegativeCycleException extends RuntimeException
A negative weight exception
See Also:
  • Constructor Details

    • NegativeCycleException

      public NegativeCycleException()
      Defualt constructor
    • NegativeCycleException

      public NegativeCycleException(String message)
      Constructor that accepts a custom message
      Parameters:
      message - The message