public class WpApiParsedException extends Exception
| Constructor and Description |
|---|
WpApiParsedException(ParsedRestException parsed) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
Object |
getData() |
String |
getErrorMessage() |
static WpApiParsedException |
of(org.springframework.web.client.HttpStatusCodeException cause) |
static WpApiParsedException |
of(ParsedRestException parsed) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic WpApiParsedException(ParsedRestException parsed)
public static WpApiParsedException of(ParsedRestException parsed)
public static WpApiParsedException of(org.springframework.web.client.HttpStatusCodeException cause)
public String getCode()
public Object getData()
public String getErrorMessage()
Copyright © 2016. All rights reserved.