|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.rim.pushsdk.subscription.InvalidSubStatusException
public class InvalidSubStatusException
Exception thrown when a subscription operation cannot be performed because it is invalid based on the current status of the subscriber.
SubscriberStatus,
Serialized Form| Constructor Summary | |
|---|---|
InvalidSubStatusException(String message)
Constructs an InvalidSubStatusException with the given error message. |
|
InvalidSubStatusException(SubscriberStatus currentStatus,
SubscriptionType subscriptionType)
Constructs an InvalidSubStatusException with the given current status and subscription operation type. |
|
| Method Summary | |
|---|---|
SubscriberStatus |
getCurrentStatus()
Returns the current status of a subscriber that was considered to be invalid based on the operation being performed. |
SubscriptionType |
getSubscriptionType()
Returns the type of subscription operation being performed. |
| 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 |
|---|
public InvalidSubStatusException(SubscriberStatus currentStatus,
SubscriptionType subscriptionType)
InvalidSubStatusException with the given current status and subscription operation type.
currentStatus - the current status of the subscribersubscriptionType - the subscription operation being performedpublic InvalidSubStatusException(String message)
InvalidSubStatusException with the given error message.
message - the error message| Method Detail |
|---|
public SubscriberStatus getCurrentStatus()
public SubscriptionType getSubscriptionType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||