|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gsm.oneapi.responsebean.PolicyException
public class PolicyException
specific error case indicated by the OneAPI server as a Policy Exception
Constructor Summary | |
---|---|
PolicyException()
default constructor |
|
PolicyException(java.lang.String messageId,
java.lang.String text,
java.lang.String[] variables)
utility constructor to create a ServiceException object with all fields set |
Method Summary | |
---|---|
java.lang.String |
getMessageId()
return the distinctive error message identifier |
java.lang.String |
getText()
return the textual representation of the error |
java.lang.String[] |
getVariables()
return any instance specific error variables |
void |
setMessageId(java.lang.String messageId)
set the distinctive error message identifier. |
void |
setText(java.lang.String text)
set the textual representation of the error. |
void |
setVariables(java.lang.String[] variables)
set any instance specific error variables. |
java.lang.String |
toString()
generate a textual representation of the ServiceException instance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PolicyException()
public PolicyException(java.lang.String messageId, java.lang.String text, java.lang.String[] variables)
messageId
- text
- variables
- Method Detail |
---|
public java.lang.String getMessageId()
public java.lang.String getText()
public java.lang.String[] getVariables()
public void setMessageId(java.lang.String messageId)
public void setText(java.lang.String text)
public void setVariables(java.lang.String[] variables)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |