public class PolicyException extends Object implements Serializable
| Constructor and Description |
|---|
PolicyException()
default constructor
|
PolicyException(String messageId,
String text,
String[] variables)
utility constructor to create a ServiceException object with all fields set
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessageId()
return the distinctive error message identifier
|
String |
getText()
return the textual representation of the error
|
String[] |
getVariables()
return any instance specific error variables
|
void |
setMessageId(String messageId)
set the distinctive error message identifier.
|
void |
setText(String text)
set the textual representation of the error.
|
void |
setVariables(String[] variables)
set any instance specific error variables.
|
String |
toString()
generate a textual representation of the ServiceException instance
|
public String getMessageId()
public String getText()
public String[] getVariables()
public void setMessageId(String messageId)
public void setText(String text)
public void setVariables(String[] variables)
Copyright © 2014. All rights reserved.