public class MXApplicationYesNoCancelException extends MXApplicationException
Modifier and Type | Field and Description |
---|---|
static int |
CANCEL |
static int |
NO |
static int |
NULL |
static int |
OK |
static int |
YES |
detail, params
Constructor and Description |
---|
MXApplicationYesNoCancelException(java.lang.String id,
java.lang.String eg,
java.lang.String ek)
Construct an exception with the error group and key
|
MXApplicationYesNoCancelException(java.lang.String id,
java.lang.String eg,
java.lang.String ek,
java.lang.Object[] params)
Construct an exception with the error group, key and additonal params
|
MXApplicationYesNoCancelException(java.lang.String id,
java.lang.String eg,
java.lang.String ek,
java.lang.Object[] p,
java.lang.Throwable t)
Construct an exception with the error group, key, parameters and
the nested exception
|
MXApplicationYesNoCancelException(java.lang.String id,
java.lang.String eg,
java.lang.String ek,
java.lang.Throwable t)
Construct an exception with the error group,key and nested exception
|
Modifier and Type | Method and Description |
---|---|
int |
getContinueEvents() |
java.lang.String |
getId()
Get the identifier of the exception.
|
int |
getUserClickedValue() |
static int |
getUserInput(java.lang.String id,
MXServerRemote server,
UserInfo ui)
Static method to get the message posted on the bulletin board responding
to this type of exception.
|
void |
postUserInput(MXServerRemote server,
int answer,
UserInfo ui)
Post the user input.
|
void |
setContinueEvents(int responses)
Set the user responses that when UI recieves will continue with the other queued events.
|
equals, getDetail, getDisplayMessage, getErrorGroup, getErrorKey, getForcedLangCode, getMessage, getMessage, getParameters, hasDetail, hasParameters, isServerSide, setForcedLangCode, setServerSide
public static final int OK
public static final int CANCEL
public static final int YES
public static final int NO
public static final int NULL
public MXApplicationYesNoCancelException(java.lang.String id, java.lang.String eg, java.lang.String ek)
public MXApplicationYesNoCancelException(java.lang.String id, java.lang.String eg, java.lang.String ek, java.lang.Object[] params)
public MXApplicationYesNoCancelException(java.lang.String id, java.lang.String eg, java.lang.String ek, java.lang.Throwable t)
public MXApplicationYesNoCancelException(java.lang.String id, java.lang.String eg, java.lang.String ek, java.lang.Object[] p, java.lang.Throwable t)
public java.lang.String getId()
public void postUserInput(MXServerRemote server, int answer, UserInfo ui)
server
- answer
- user input as integer of YES, NO, OK and CANCELui
- public static int getUserInput(java.lang.String id, MXServerRemote server, UserInfo ui) throws java.rmi.RemoteException
id
- server
- ui
- java.rmi.RemoteException
public void setContinueEvents(int responses)
responses,
- the bit values of the user response ored together.public int getContinueEvents()
public int getUserClickedValue() throws java.rmi.RemoteException
java.rmi.RemoteException