net.rim.device.api.wlan.hotspot
Class HotspotException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.rim.device.api.wlan.hotspot.HotspotException
public final class HotspotException
- extends RuntimeException
A runtime exception thrown during a hotspot-related operation.
- 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 5.0.0
Constructor Summary |
|
HotspotException(int errorCode,
String message)
Creates a new HotspotException with the provided error code and error message. |
Method Summary |
|
int |
getErrorCode()
Retrieves this exception's error code. |
ERROR_UNDEFINED
public static final int ERROR_UNDEFINED
- Error code used to indicate an undefined error.
- 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 5.0.0
ERROR_DATABASE_UNAVAILABLE
public static final int ERROR_DATABASE_UNAVAILABLE
- Error code used to indicate that a client's database is unavailable. Thrown from
HotspotClient.getSupportedNetworks
.
- 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 5.0.0
ERROR_CREDENTIALS_STORAGE_UNAVAILABLE
public static final int ERROR_CREDENTIALS_STORAGE_UNAVAILABLE
- Error code used to indicate that credentials storage cannot be accessed. Thrown from
HotspotCredentialsAgent
.
- 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 5.0.0
ERROR_HOTSPOT_CLIENT_DISABLED
public static final int ERROR_HOTSPOT_CLIENT_DISABLED
- Error code used to indicate that the hotspot client is disabled. Thrown from
HotspotClient.getSupportedNetworks
.
- 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 5.0.0
HotspotException
public HotspotException(int errorCode,
String message)
- Creates a new HotspotException with the provided error code and error message.
- Parameters:
errorCode
- one of the constants in this class.message
- error message.- 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 5.0.0
getErrorCode
public int getErrorCode()
- Retrieves this exception's error code.
- Returns:
- the error code of this exception.
- 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 5.0.0
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.