net.rim.pushsdk.push.request
Class InvalidPushRequestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.rim.pushsdk.push.request.InvalidPushRequestException
All Implemented Interfaces:
Serializable

public class InvalidPushRequestException
extends Exception

Exception thrown when a push request cannot be found in the persistent store or a push request with the specified id already exists in the persistent store.

Author:
dstrelbytsky
See Also:
Serialized Form

Field Summary
static String ALREADY_EXISTS
          Message indicating that a push request with the given id already exists.
static String DOES_NOT_EXIST
          Message indicating that a push request could not be found.
 
Constructor Summary
InvalidPushRequestException(String message)
          Constructs an InvalidPushRequestException with an error message.
InvalidPushRequestException(String message, Throwable cause)
          Constructs an InvalidPushRequestException with the given error message and wrapping a throwable.
InvalidPushRequestException(Throwable cause)
          Constructs an InvalidPushRequestException 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
 

Field Detail

ALREADY_EXISTS

public static final String ALREADY_EXISTS
Message indicating that a push request with the given id already exists.

See Also:
Constant Field Values

DOES_NOT_EXIST

public static final String DOES_NOT_EXIST
Message indicating that a push request could not be found.

See Also:
Constant Field Values
Constructor Detail

InvalidPushRequestException

public InvalidPushRequestException(String message)
Constructs an InvalidPushRequestException with an error message.

Parameters:
message - an error message

InvalidPushRequestException

public InvalidPushRequestException(Throwable cause)
Constructs an InvalidPushRequestException wrapping a throwable.

Parameters:
cause - the throwable to be wrapped

InvalidPushRequestException

public InvalidPushRequestException(String message,
                                   Throwable cause)
Constructs an InvalidPushRequestException 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.