public class WebserviceClientErrorHandler extends BaseErrorHandler
Modifier and Type | Field and Description |
---|---|
static String |
ANY_ERROR
Identifies that any web service client error should be handled
|
static String |
CONNECTION_ERROR
Identifies that only connectivity and authentication web service errors
should be handled
|
protected String |
errorType |
static String |
SOAP_FAULT
Identifies that only soap-fault web service client errors should be
handled
|
action, ACTION_NONE, ACTION_REDIRECT, ACTION_REPORT_DETAILS, ACTION_REPORT_SUMMARY, ACTION_REPORT_SUMMARY_DETAILS, chainHandler, details, errorPage, exception, parsedDetails, parsedSummary, severity, SEVERITY_ERROR, SEVERITY_FATAL, SEVERITY_INFO, SEVERITY_WARN, source, summary, viewID
Constructor and Description |
---|
WebserviceClientErrorHandler() |
Modifier and Type | Method and Description |
---|---|
String |
getErrorType()
Web service error type to be handled.
|
protected boolean |
parseError()
Set the Summary and Details from the exception's cause.
|
void |
setErrorType(String errorType)
Sets value for web service error type to be handled.
|
formatMessage, getAction, getChainHandler, getDetails, getErrorPage, getException, getFacesSeverity, getSeverity, getSource, getSummary, gotoPage, handleError, handleError, isHasError, reset, returnBack, setAction, setChainHandler, setDetails, setErrorPage, setSeverity, setSummary
public static final String ANY_ERROR
public static final String CONNECTION_ERROR
public static final String SOAP_FAULT
protected String errorType
public String getErrorType()
public void setErrorType(String errorType)
errorType
- Set the error type using ANY_ERROR
,
CONNECTION_ERROR
, SOAP_FAULT
protected boolean parseError()
SOAP_FAULT
, also parse the soap fault.parseError
in class BaseErrorHandler
Throwable.getCause()