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()
ErrorInfo
getErrorType
in interface ErrorInfo
public String[] getErrorParams()
ErrorInfo
getErrorParams
in interface ErrorInfo
public String getErrorMessage()
ErrorInfo
getErrorMessage
in interface ErrorInfo
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.