Class CannotPerformActionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- cz.zcu.students.cacha.bp_server.exceptions.CannotPerformActionException
-
- All Implemented Interfaces:
Serializable
@ResponseStatus(BAD_REQUEST) public class CannotPerformActionException extends RuntimeException
Exception thrown when operation can not be performed- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CannotPerformActionException(String message)
Creates new CannotPerformActionException with given message
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CannotPerformActionException
public CannotPerformActionException(String message)
Creates new CannotPerformActionException with given message- Parameters:
message
- exception message
-
-