Class 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 Detail

      • ForbiddenException

        public ForbiddenException​(String string,
                                  Exception e)
      • ForbiddenException

        public ForbiddenException​(String string)
    • Method Detail

      • getStatus

        public int getStatus()