Class ValidationErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- cz.zcu.students.cacha.bp_server.exceptions.ValidationErrorException
-
- All Implemented Interfaces:
Serializable
@ResponseStatus(BAD_REQUEST) public class ValidationErrorException extends RuntimeException
Exception thrown when input params are not valid- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationErrorException(HashMap<String,String> errors)
Creates new instance with given validation errors hash map
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-