if (location.href.indexOf('is-external=true') == -1) { parent.document.; } //-->
allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //-->
com.ibm.mobilefirstplatform.clientsdk.android.push.api
Class MFPPushException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- com.ibm.mobilefirstplatform.clientsdk.android.push.api.MFPPushException
- All Implemented Interfaces:
- java.io.Serializable
public class MFPPushException extends java.lang.Exception
- See Also:
- Serialized Form
Constructor Summary
Constructors 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
Method Summary
Methods 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
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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
MFPPushException
public MFPPushException(java.lang.Exception e)
Constructor to create a MFPPushException
- Parameters:
e - root cause exception
MFPPushException
public MFPPushException(java.lang.String message)
Constructor to create a MFPPushException
- Parameters:
message - exception detail message
MFPPushException
public 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
- Parameters:
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 found
MFPPushException
public MFPPushException(int statusCode, java.lang.String statusLine)
Create a MFPPushException with the below information
- Parameters:
statusCode - Status code of the HTTP response receivedstatusLine
- Status line of the HTTP response received
Method Detail
getStatusCode
public int getStatusCode()
Return the HTTP status code from the HTTP response
- Returns:
- status code as int
getStatusLine
public java.lang.String getStatusLine()
Return the HTTP status line from the HTTP response
- Returns:
- status line as string
getErrorMessage
public java.lang.String getErrorMessage()
Return the error message
- Returns:
- error message as string
getErrorCode
public java.lang.String getErrorCode()
Return the error code
- Returns:
- error code as string
getDocUrl
public java.lang.String getDocUrl()
Return the documentation url
- Returns:
- documentation url as string
allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //-->
© Copyright IBM Corp. 2006, 2015. All Rights Reserved.