net.rim.pushsdk.subscription
Class SubIllegalArgumentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by 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

Constructor Summary
SubIllegalArgumentException(SubIllegalArgumentErrorCode subIllegalArgumentErrorCode)
          Constructs a SubIllegalArgumentException with the given error code.
 
Method Summary
 SubIllegalArgumentErrorCode getErrorCode()
          Returns the error code associated with the invalid argument to a subscription operation.
 
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

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
Method Detail

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.