Package org.grp1.exception
Class InvalidIndexException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.grp1.exception.InvalidIndexException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidIndexException(String message) Constructor to instantiate the exception by messageInvalidIndexException(String message, Throwable cause) Constructor to instantiate the exception by message and cause -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidIndexException
public InvalidIndexException() -
InvalidIndexException
Constructor to instantiate the exception by message- Parameters:
message- Message of the error
-
InvalidIndexException
Constructor to instantiate the exception by message and cause- Parameters:
message- Message of the errorcause- Cause of the error in the form of Throwable
-