org.wso2.carbon.mdm.services.android.common

## Class ErrorHandler

- java.lang.Object
- - org.wso2.carbon.mdm.services.android.common.ErrorHandler

- All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<AndroidAgentException>

      public class ErrorHandler
      extends Object
      implements javax.ws.rs.ext.ExceptionMapper<AndroidAgentException>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ErrorHandler()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.Response` | `toResponse(AndroidAgentException exception)`

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

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

- - ### Constructor Detail

    - #### ErrorHandler

          public ErrorHandler()

  - ### Method Detail

    - #### toResponse

          public javax.ws.rs.core.Response toResponse(AndroidAgentException exception)

      Specified by:
        `toResponse` in interface `javax.ws.rs.ext.ExceptionMapper<AndroidAgentException>`

Copyright © 2017 WSO2. All rights reserved.