org.wso2.carbon.device.mgt.mobile.windows.api.common.exceptions

## Class MDMAPIException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - org.wso2.carbon.device.mgt.mobile.windows.api.common.exceptions.MDMAPIException

- All Implemented Interfaces:
    Serializable

      public class MDMAPIException
      extends Exception

  MDMAPIUtils class provides utility function which are used by CDM REST-API classes.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MDMAPIException()`
    `MDMAPIException(String msg)`
    `MDMAPIException(String msg, Exception e)`
    `MDMAPIException(String msg, Throwable cause)`
    `MDMAPIException(Throwable cause)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getErrorMessage()`
    `void` | `setErrorMessage(String errorMessage)`

    - ### 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

    - #### MDMAPIException

          public MDMAPIException(String msg,
                         Exception e)

    - #### MDMAPIException

          public MDMAPIException(String msg,
                         Throwable cause)

    - #### MDMAPIException

          public MDMAPIException(String msg)

    - #### MDMAPIException

          public MDMAPIException()

    - #### MDMAPIException

          public MDMAPIException(Throwable cause)

  - ### Method Detail

    - #### getErrorMessage

          public String getErrorMessage()

    - #### setErrorMessage

          public void setErrorMessage(String errorMessage)

Copyright © 2017 WSO2. All rights reserved.