Package com.graphs.exceptions.vertex
Class NegativeVertexIndexException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.graphs.exceptions.vertex.VertexIndexException
com.graphs.exceptions.vertex.NegativeVertexIndexException
- All Implemented Interfaces:
Serializable
This exception can be thrown whenever a negative vertex index occurs.
- Since:
- 1.0
- Version:
- JDK 1.7
- Author:
- Ćukasz Malara
- See Also:
-
Constructor Summary
ConstructorDescriptionThis constructor creates a new instance of exception with a predefined message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NegativeVertexIndexException
public NegativeVertexIndexException()This constructor creates a new instance of exception with a predefined message.- Since:
- 1.0
-