|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.gwt.shared.event.ServiceResult
com.sibvisions.rad.ui.gwt.shared.event.ErrorResult
public class ErrorResult
The ErrorResult contains the response for a failed request.
| Nested Class Summary | |
|---|---|
static class |
ErrorResult.ErrorType
the possible errors. |
| Constructor Summary | |
|---|---|
ErrorResult()
Creates a new instance of ErrorResult. |
|
ErrorResult(String pClientId,
ErrorResult.ErrorType pError)
Creates a new instance of ErrorResult for a specific client. |
|
| Method Summary | |
|---|---|
String |
getClientId()
Gets the id of the client. |
String |
getParameter(String pName)
Gets the value for a user defined parameter. |
ErrorResult.ErrorType |
getType()
Gets the error type. |
String |
setParameter(String pName,
String pValue)
Sets a user defined event parameter. |
void |
setType(ErrorResult.ErrorType pError)
Sets the error type. |
| Methods inherited from class com.sibvisions.rad.ui.gwt.shared.event.ServiceResult |
|---|
getUI, setUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorResult()
ErrorResult.
Only for serialization.
public ErrorResult(String pClientId,
ErrorResult.ErrorType pError)
ErrorResult for a specific client.
pClientId - the id of the clientpError - the error type| Method Detail |
|---|
public void setType(ErrorResult.ErrorType pError)
pError - the typepublic ErrorResult.ErrorType getType()
public String getClientId()
public String setParameter(String pName,
String pValue)
pName - the parameter namepValue - the value or null to remove the property with the specified name
null if the property was not setpublic String getParameter(String pName)
pName - the parameter name
null if the parameter was not set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||