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

## Class UnexpectedServerErrorException

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

- All Implemented Interfaces:
    Serializable

      public class UnexpectedServerErrorException
      extends javax.ws.rs.WebApplicationException

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UnexpectedServerErrorException(ErrorDTO errorDTO)`
    `UnexpectedServerErrorException(ErrorResponse error)`

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

    - #### UnexpectedServerErrorException

          public UnexpectedServerErrorException(ErrorResponse error)

    - #### UnexpectedServerErrorException

          public UnexpectedServerErrorException(ErrorDTO errorDTO)

  - ### Method Detail

    - #### getMessage

          public String getMessage()

      Overrides:
        `getMessage` in class `Throwable`

Copyright © 2017 WSO2. All rights reserved.