net.rim.pushsdk.pushappmgmt
Class InvalidPushAppException

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

public class InvalidPushAppException
extends Exception

Exception thrown when a push application is invalid.

Author:
mdandrea
See Also:
InvalidPushAppErrorCode, Serialized Form

Constructor Summary
InvalidPushAppException(InvalidPushAppErrorCode invalidPushAppErrorCode)
          Constructs an InvalidPushAppException with the given error code.
 
Method Summary
 InvalidPushAppErrorCode getErrorCode()
          Returns the error code associated with the push application being invalid.
 
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

InvalidPushAppException

public InvalidPushAppException(InvalidPushAppErrorCode invalidPushAppErrorCode)
Constructs an InvalidPushAppException with the given error code.

Parameters:
invalidPushAppErrorCode - error code for an invalid push application
Method Detail

getErrorCode

public InvalidPushAppErrorCode getErrorCode()
Returns the error code associated with the push application being invalid.

Returns:
the error code


Copyright © 2011 Research In Motion. All Rights Reserved.