Class IllegalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
edu.ntnu.idatt2106_2023_06.backend.exception.illegal.IllegalException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IllegalFileTypeException
,IllegalStatTypeException
,IllegalStatValueException
This exception is thrown when an illegal argument is passed to a method.
- Author:
- Brage Halvorsen Kvamme
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIllegalException
(String message) This method constructs a new IllegalException with the specified 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
-
IllegalException
This method constructs a new IllegalException with the specified message.- Parameters:
message
- The message of the exception, given as a String
-