Class BadInputException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ntnu.idi.idatt2106.sparesti.sparestibackend.exception.validation.BadInputException
- All Implemented Interfaces:
Serializable
Exception that is thrown for bad user input
- Since:
- 17.4.24
- Version:
- 1.0
- Author:
- Harry L.X and Lars M.L.N
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBadInputException
(String message) Constructs an instance of the exception class -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BadInputException
Constructs an instance of the exception class- Parameters:
message
- Custom message that the exception is thrown with
-