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

## Class AndroidAgentException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - org.wso2.carbon.mdm.services.android.exception.AndroidAgentException

- All Implemented Interfaces:
    Serializable

      public class AndroidAgentException
      extends Exception

  Custom exception class for Android API related exceptions.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AndroidAgentException()`
    `AndroidAgentException(String msg)`
    `AndroidAgentException(String msg, Exception nestedEx)`
    `AndroidAgentException(String message, Throwable cause)`
    `AndroidAgentException(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

    - #### AndroidAgentException

          public AndroidAgentException(String msg,
                               Exception nestedEx)

    - #### AndroidAgentException

          public AndroidAgentException(String message,
                               Throwable cause)

    - #### AndroidAgentException

          public AndroidAgentException(String msg)

    - #### AndroidAgentException

          public AndroidAgentException()

    - #### AndroidAgentException

          public AndroidAgentException(Throwable cause)

  - ### Method Detail

    - #### getErrorMessage

          public String getErrorMessage()

    - #### setErrorMessage

          public void setErrorMessage(String errorMessage)

Copyright © 2017 WSO2. All rights reserved.