Class ForbiddenException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.fraunhofer.iese.mydata.exception.ForbiddenException
-
- All Implemented Interfaces:
Serializable
public class ForbiddenException extends Exception
Thrown when something is forbidden, but has nothing to do with authorization. Unlike an access denied exception, it's independent of the authorization, so even if the authorization is correct, it may still be forbidden.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ForbiddenException(String string)
ForbiddenException(String string, Exception e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getStatus()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-