|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.nokia.mid.ui.SoftNotificationException
public class SoftNotificationException
This API is an optional feature in Nokia UI API, and depending on the device capabilities there may be implementations that do not support soft notifications. The System.getProperty ("com.nokia.mid.ui.softnotification") will return "true" if this feature is available in the device.
SoftNotification, Serialized Form
Constructor Summary | |
---|---|
protected |
SoftNotificationException()
Default constructor is not allowed. |
|
SoftNotificationException(java.lang.String info)
Constructs an exception instance with a textual information. |
|
SoftNotificationException(java.lang.String info,
int errorCode)
Constructs an exception instance with a textual information and the error code of the native call. |
Method Summary | |
---|---|
int |
getErrorCode()
Returns with the native error code. |
java.lang.String |
toString()
Constructs human readable textual information. |
Methods inherited from class java.lang.Throwable |
---|
getMessage, printStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected SoftNotificationException()
public SoftNotificationException(java.lang.String info)
info
- human readable information about the exception.public SoftNotificationException(java.lang.String info, int errorCode)
info
- human readable information about the exception.errorCode
- received from native side.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Throwable
public int getErrorCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |