public class AppError extends Object implements Serializable
| Constructor and Description |
|---|
AppError(String pMsg)
Create a new error.
|
AppError(String pMsg,
Serializable[] pParams)
Create a new error.
|
AppError(String pMsg,
Serializable[] pParams,
String pField)
Create a new error.
|
AppError(String pMsg,
String pField)
Create a new error.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object pObj) |
String |
getField()
Return the field that caused the error.
|
String |
getMsg()
Returns the error message.
|
Serializable[] |
getParams()
Returns the error message parameters.
|
int |
hashCode() |
String |
toString() |
public AppError(String pMsg)
pMsg - Message.public AppError(String pMsg, Serializable[] pParams)
pMsg - Message.pParams - Message parameters.public AppError(String pMsg, String pField)
pMsg - Message.pField - Field that caused the error.public AppError(String pMsg, Serializable[] pParams, String pField)
pMsg - Message.pParams - Message parameters.pField - Field that caused the error.public final String getMsg()
public final Serializable[] getParams()
public final String getField()
Copyright © 2015. All rights reserved.