PartnerResponseParseException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - java.
lang. RuntimeException - com.
microsoft. store. partnercenter. exception. PartnerException - com.
microsoft. store. partnercenter. exception. PartnerResponseParseException
- com.
- com.
- java.
- java.
- java.
public class PartnerResponseParseException extends PartnerException
This exception is thrown by PartnerServiceClient objects when they fail to parse the response according to the caller's expectations.
Constructor Summary
| Constructor | Description |
|---|---|
| PartnerResponseParseException() |
Initializes a new instance of the Partner |
| PartnerResponseParseException(String message) |
Initializes a new instance of the Partner |
| PartnerResponseParseException(String response, IRequestContext context, String message, Exception innerException) |
Initializes a new instance of the Partner |
| PartnerResponseParseException(String message, Exception innerException) |
Initializes a new instance of the Partner |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getResponse()
Gets the HTTP response payload that could not be parsed. |
| void |
setResponse(String value)
Sets the HTTP response payload that could not be parsed. |
| java.lang.String |
toString()
Displays the partner API network exception details. |
Inherited Members
Constructor Details
PartnerResponseParseException
public PartnerResponseParseException()
Initializes a new instance of the PartnerResponseParseException class.
PartnerResponseParseException
public PartnerResponseParseException(String message)
Initializes a new instance of the PartnerResponseParseException class.
Parameters:
PartnerResponseParseException
public PartnerResponseParseException(String response, IRequestContext context, String message, Exception innerException)
Initializes a new instance of the PartnerResponseParseException class.
Parameters:
PartnerResponseParseException
public PartnerResponseParseException(String message, Exception innerException)
Initializes a new instance of the PartnerResponseParseException class.
Parameters:
Method Details
getResponse
public String getResponse()
Gets the HTTP response payload that could not be parsed.
Returns:
setResponse
public void setResponse(String value)
Sets the HTTP response payload that could not be parsed.
Parameters:
toString
public String toString()
Displays the partner API network exception details.
Overrides:
PartnerResponseParseException.toString()Returns: