org.wso2.carbon.mdm.services.android.exception

## Class ForbiddenException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - javax.ws.rs.WebApplicationException
        - - org.wso2.carbon.mdm.services.android.exception.ForbiddenException

- All Implemented Interfaces:
    Serializable

      public class ForbiddenException
      extends javax.ws.rs.WebApplicationException

  Exception class that is corresponding to 401 Forbidden response
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ForbiddenException()`
    `ForbiddenException(ErrorDTO errorDTO)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getMessage()`

    - ### Methods inherited from class javax.ws.rs.WebApplicationException

      `getResponse`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ForbiddenException

          public ForbiddenException()

    - #### ForbiddenException

          public ForbiddenException(ErrorDTO errorDTO)

  - ### Method Detail

    - #### getMessage

          public String getMessage()

      Overrides:
        `getMessage` in class `Throwable`

Copyright © 2017 WSO2. All rights reserved.