net.rim.blackberry.web.widget.jil
Class JILWidgetException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.rim.blackberry.web.widget.jil.JILWidgetException

public class JILWidgetException
extends Exception

Thrown if a JIL Widget error occurs.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

Field Summary
Category: Signed static int ERROR_ACCESSING_CONFIG_FILE
           
Category: Signed static int ERROR_BF2_REQUEST
           
Category: Signed static int ERROR_CONTENT_ID_NOT_FOUND
           
Category: Signed static int ERROR_EVENT_THREAD_ERROR
          This error is thrown when the event thread is used to invoke JILWidgetRuntime
Category: Signed static int ERROR_FAILED_TO_AUTHORIZE
           
Category: Signed static int ERROR_FAILED_TO_CREATE_ENTRY_POINT
           
Category: Signed static int ERROR_FAILED_TO_CREATE_MODULE
           
Category: Signed static int ERROR_FAILED_TO_CREATE_TRANSACTION
           
Category: Signed static int ERROR_FAILED_TO_DELETE_MODULES
           
Category: Signed static int ERROR_FAILED_TO_SAVE_MODULE
           
Category: Signed static int ERROR_INVALID_CONFIG
          This error is thrown when the widget's configuration file is invalid
Category: Signed static int ERROR_INVALID_CONFIG_NAMESPACE
          This error is thrown when the widget's configiguration file has invalid namespace
Category: Signed static int ERROR_INVALID_URL
          This error code indicates that an invalid widget url was passed to JILWidgetRuntime.install()
Category: Signed static int ERROR_MISSING_CONFIG_FILE
           
Category: Signed static int ERROR_MISSING_RESOURCE_PROVIDER
           
Category: Signed static int ERROR_MISSING_STARTUP_RESOURCE
           
Category: Signed static int ERROR_MISSING_URL
          This error code indicates that no widget url was passed to JILWidgetRuntime.install()
Category: Signed static int ERROR_SIGNATURE_VALIDATION_FAILED
           
Category: Signed static int ERROR_TRANSACTION_INVALID
           
Category: Signed static int ERROR_UNABLE_TO_OPEN_URL
           
Category: Signed static int ERROR_UNKNOWN
          This error code indicates that an unknown error occurred
Category: Signed static int ERROR_UNSUPPORTED_FEATURE
           
Category: Signed static int ERROR_USER_DENIED_INSTALL
           
Category: Signed static int ERROR_VALIDATION_FAILED
          This error code indicates that validation of the widget failed
Category: Signed static int ERROR_WIDGET_TOO_BIG
           
Category: Signed static int ITPOLICY_NO_PERSISTENT_STORAGE
          This error is thrown when IT Policy doesn't allow use of persistent storage for third party apps
Category: Signed static int MISSING_FILESYSTEM_RESOURCE
           
Category: Signed static int MISSING_WIDGET_RESOURCE
           
Category: Signed static int NO_FILESYSTEM_ACCESS
           
Category: Signed static int NO_NETWORK_ACCESS
           
 
Method Summary
Category: Signed  int getErrorCode()
           
Category: Signed  String toString()
          Returns a short description of this throwable object.
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 



Field Detail

ERROR_UNKNOWN

public static final int ERROR_UNKNOWN
This error code indicates that an unknown error occurred

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_MISSING_URL

public static final int ERROR_MISSING_URL
This error code indicates that no widget url was passed to JILWidgetRuntime.install()

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_INVALID_URL

public static final int ERROR_INVALID_URL
This error code indicates that an invalid widget url was passed to JILWidgetRuntime.install()

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_VALIDATION_FAILED

public static final int ERROR_VALIDATION_FAILED
This error code indicates that validation of the widget failed

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_SIGNATURE_VALIDATION_FAILED

public static final int ERROR_SIGNATURE_VALIDATION_FAILED
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_USER_DENIED_INSTALL

public static final int ERROR_USER_DENIED_INSTALL
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_MISSING_CONFIG_FILE

public static final int ERROR_MISSING_CONFIG_FILE
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_WIDGET_TOO_BIG

public static final int ERROR_WIDGET_TOO_BIG
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_UNABLE_TO_OPEN_URL

public static final int ERROR_UNABLE_TO_OPEN_URL
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_MISSING_RESOURCE_PROVIDER

public static final int ERROR_MISSING_RESOURCE_PROVIDER
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_FAILED_TO_AUTHORIZE

public static final int ERROR_FAILED_TO_AUTHORIZE
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_MISSING_STARTUP_RESOURCE

public static final int ERROR_MISSING_STARTUP_RESOURCE
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_FAILED_TO_CREATE_ENTRY_POINT

public static final int ERROR_FAILED_TO_CREATE_ENTRY_POINT
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_ACCESSING_CONFIG_FILE

public static final int ERROR_ACCESSING_CONFIG_FILE
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_FAILED_TO_SAVE_MODULE

public static final int ERROR_FAILED_TO_SAVE_MODULE
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_FAILED_TO_CREATE_MODULE

public static final int ERROR_FAILED_TO_CREATE_MODULE
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_TRANSACTION_INVALID

public static final int ERROR_TRANSACTION_INVALID
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_FAILED_TO_CREATE_TRANSACTION

public static final int ERROR_FAILED_TO_CREATE_TRANSACTION
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_FAILED_TO_DELETE_MODULES

public static final int ERROR_FAILED_TO_DELETE_MODULES
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

NO_FILESYSTEM_ACCESS

public static final int NO_FILESYSTEM_ACCESS
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

NO_NETWORK_ACCESS

public static final int NO_NETWORK_ACCESS
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

MISSING_FILESYSTEM_RESOURCE

public static final int MISSING_FILESYSTEM_RESOURCE
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

MISSING_WIDGET_RESOURCE

public static final int MISSING_WIDGET_RESOURCE
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_BF2_REQUEST

public static final int ERROR_BF2_REQUEST
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_UNSUPPORTED_FEATURE

public static final int ERROR_UNSUPPORTED_FEATURE
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_CONTENT_ID_NOT_FOUND

public static final int ERROR_CONTENT_ID_NOT_FOUND
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_EVENT_THREAD_ERROR

public static final int ERROR_EVENT_THREAD_ERROR
This error is thrown when the event thread is used to invoke JILWidgetRuntime

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_INVALID_CONFIG

public static final int ERROR_INVALID_CONFIG
This error is thrown when the widget's configuration file is invalid

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ERROR_INVALID_CONFIG_NAMESPACE

public static final int ERROR_INVALID_CONFIG_NAMESPACE
This error is thrown when the widget's configiguration file has invalid namespace

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

ITPOLICY_NO_PERSISTENT_STORAGE

public static final int ITPOLICY_NO_PERSISTENT_STORAGE
This error is thrown when IT Policy doesn't allow use of persistent storage for third party apps

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0


Method Detail

getErrorCode

public int getErrorCode()
Returns:
one of the error codes defined in JILWidgetException.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0

toString

public String toString()
Description copied from class: Throwable
Returns a short description of this throwable object. If this Throwable object was created with an error message string, then the result is the concatenation of three strings: If this Throwable object was created with no error message string, then the name of the actual class of this object is returned.

Overrides:
toString in class Throwable
Returns:
meaningful description of the JILWidgetException instance.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 7.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal