Package org.wso2.carbon.rest.api

## Class APIException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - org.wso2.carbon.rest.api.APIException

- All Implemented Interfaces:
    `Serializable`

      public class APIException
      extends Exception

  Class `APIException` creates a custom exception for Rest API admin
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `APIException()` |
    `APIException​(String message)` |
    `APIException​(String message, Throwable cause)` |
    `APIException​(Throwable cause)` |

  - ### Method Summary

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

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

    - #### APIException

          public APIException()

    - #### APIException

          public APIException​(String message)

    - #### APIException

          public APIException​(Throwable cause)

    - #### APIException

          public APIException​(String message,
                              Throwable cause)