Package net.dona.doip.util

# Class ErrorMessageUtil

java.lang.Object
net.dona.doip.util.ErrorMessageUtil

public class ErrorMessageUtil extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ErrorMessageUtil()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static com.google.gson.JsonElement`
  `getJsonResponseFromErrorResponse(DoipClientResponse resp)`
  `static String`
  `getMessageFromErrorResponse(DoipClientResponse resp)`

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

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

- ## Constructor Details

  - ### ErrorMessageUtil

    public ErrorMessageUtil()

- ## Method Details

  - ### getMessageFromErrorResponse

    public static String getMessageFromErrorResponse(DoipClientResponse resp) throws IOException
    Throws:
      `IOException`

  - ### getJsonResponseFromErrorResponse

    public static com.google.gson.JsonElement getJsonResponseFromErrorResponse(DoipClientResponse resp) throws IOException
    Throws:
      `IOException`