| Constructor and Description |
|---|
ActionError(EmpireException e) |
ActionError(ErrorInfo other) |
ActionError(ErrorType errType) |
ActionError(ErrorType errType,
String param) |
ActionError(ErrorType errType,
String[] params) |
ActionError(Throwable e) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear() |
String |
getErrorMessage()
Returns the message associated with the last error.
|
String[] |
getErrorParams()
Returns the parameters used to build the error text.
|
ErrorType |
getErrorType()
Returns the last error code.
|
boolean |
hasError() |
String |
toString() |
public ActionError(ErrorInfo other)
public ActionError(EmpireException e)
public ActionError(Throwable e)
public ActionError(ErrorType errType)
protected void clear()
public boolean hasError()
public ErrorType getErrorType()
ErrorInfogetErrorType in interface ErrorInfopublic String[] getErrorParams()
ErrorInfogetErrorParams in interface ErrorInfopublic String getErrorMessage()
ErrorInfogetErrorMessage in interface ErrorInfoCopyright © 2008–2022 Apache Software Foundation. All rights reserved.