public class MFPPushException
extends java.lang.Exception
Constructor and Description |
---|
MFPPushException(java.lang.Exception e)
Constructor to create a MFPPushException
|
MFPPushException(int statusCode,
java.lang.String statusLine)
Create a MFPPushException with the below information
|
MFPPushException(int statusCode,
java.lang.String statusLine,
java.lang.String errorMessage,
java.lang.String errorCode,
java.lang.String docUrl)
Create a MFPPushException with the below information
|
MFPPushException(java.lang.String message)
Constructor to create a MFPPushException
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDocUrl()
Return the documentation url
|
java.lang.String |
getErrorCode()
Return the error code
|
java.lang.String |
getErrorMessage()
Return the error message
|
int |
getStatusCode()
Return the HTTP status code from the HTTP response
|
java.lang.String |
getStatusLine()
Return the HTTP status line from the HTTP response
|
public MFPPushException(java.lang.Exception e)
e
- root cause exceptionpublic MFPPushException(java.lang.String message)
message
- exception detail messagepublic MFPPushException(int statusCode, java.lang.String statusLine, java.lang.String errorMessage, java.lang.String errorCode, java.lang.String docUrl)
statusCode
- Status code of the HTTP response receivedstatusLine
- Status line of the HTTP response receivederrorMessage
- Error message received from Push ServererrorCode
- Error code received from Push ServerdocUrl
- URL at which information of the error related information could be foundpublic MFPPushException(int statusCode, java.lang.String statusLine)
statusCode
- Status code of the HTTP response receivedstatusLine
- Status line of the HTTP response receivedpublic int getStatusCode()
public java.lang.String getStatusLine()
public java.lang.String getErrorMessage()
public java.lang.String getErrorCode()
public java.lang.String getDocUrl()
© Copyright IBM Corp. 2006, 2015. All Rights Reserved.