net.rim.pushsdk.subscription
Class SubIllegalArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
net.rim.pushsdk.subscription.SubIllegalArgumentException
- All Implemented Interfaces:
- Serializable
public class SubIllegalArgumentException
- extends IllegalArgumentException
An IllegalArgumentException thrown when the arguments to a subscription operation are determined to be invalid.
- Author:
- mdandrea
- See Also:
SubIllegalArgumentErrorCode,
Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SubIllegalArgumentException
public SubIllegalArgumentException(SubIllegalArgumentErrorCode subIllegalArgumentErrorCode)
- Constructs a
SubIllegalArgumentException with the given error code.
- Parameters:
subIllegalArgumentErrorCode - error code for an invalid argument to a subscription operation
getErrorCode
public SubIllegalArgumentErrorCode getErrorCode()
- Returns the error code associated with the invalid argument to a subscription operation.
- Returns:
- the error code
Copyright © 2011 Research In Motion. All Rights Reserved.