Package org.openwms.tms
Class DeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ameba.exception.TechnicalRuntimeException
org.ameba.exception.ServiceLayerException
org.openwms.tms.DeniedException
- All Implemented Interfaces:
Serializable
@ResponseStatus(CONFLICT)
public class DeniedException
extends org.ameba.exception.ServiceLayerException
A DeniedException is thrown by a
DecisionVoter
s in case a business action is not allowed to be executed.- Author:
- Heiko Scherrer
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ameba.exception.TechnicalRuntimeException
org.ameba.exception.TechnicalRuntimeException.Builder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DeniedException
Factory method to create one with a message text.Methods inherited from class org.ameba.exception.TechnicalRuntimeException
getData, getMessageKey, newBuilder
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DeniedException
-
-
Method Details
-
with
Factory method to create one with a message text.- Parameters:
message
- Detail message- Returns:
- A new instance
-