net.rim.pushsdk.subscription
Class PPGCommunicationFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.rim.pushsdk.subscription.PPGCommunicationFailureException
All Implemented Interfaces:
Serializable

public class PPGCommunicationFailureException
extends Exception

Exception thrown when an attempt to unsubscribe/suspend/resume a subscriber from the PPG fails.

This refers to the fact that the operation could not be attempted on the PPG because of some error (e.g. connection timeout, invalid URL, unauthorized access, etc.) or the operation failed because of an unrecoverable error (e.g. the push application id specified could not be found in the PPG).

Note: Not all PPGs offer subscription capabilities. For instance, public/BIS offers this capability, while enterprise/BES does not.

Author:
mdandrea
See Also:
Serialized Form

Constructor Summary
PPGCommunicationFailureException()
          Constructs a PPGCommunicationFailureException.
PPGCommunicationFailureException(String message)
          Constructs a PPGCommunicationFailureException with the given error message.
PPGCommunicationFailureException(String message, Throwable cause)
          Constructs a PPGCommunicationFailureException with the given error message and wrapping a throwable.
PPGCommunicationFailureException(Throwable cause)
          Constructs a PPGCommunicationFailureException wrapping a throwable.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

PPGCommunicationFailureException

public PPGCommunicationFailureException()
Constructs a PPGCommunicationFailureException.


PPGCommunicationFailureException

public PPGCommunicationFailureException(String message)
Constructs a PPGCommunicationFailureException with the given error message.

Parameters:
message - an error message

PPGCommunicationFailureException

public PPGCommunicationFailureException(Throwable cause)
Constructs a PPGCommunicationFailureException wrapping a throwable.

Parameters:
cause - the throwable to be wrapped

PPGCommunicationFailureException

public PPGCommunicationFailureException(String message,
                                        Throwable cause)
Constructs a PPGCommunicationFailureException with the given error message and wrapping a throwable.

Parameters:
message - an error message
cause - the throwable to be wrapped


Copyright © 2011 Research In Motion. All Rights Reserved.