|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.data.error.BaseErrorHandler
com.webmethods.caf.faces.data.error.WebserviceClientErrorHandler
public class WebserviceClientErrorHandler
Specialization of the error handler for Glue web service clients. Additional features include parsing of SOAP-FAULTS from web service exception and ability to handle infrastructure (connection) and SOAP_FAULTS errors separately.
Field Summary | |
---|---|
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 |
Fields inherited from class com.webmethods.caf.faces.data.error.BaseErrorHandler |
---|
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 Summary | |
---|---|
WebserviceClientErrorHandler()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.webmethods.caf.faces.data.error.BaseErrorHandler |
---|
formatMessage, getAction, getChainHandler, getDetails, getErrorPage, getException, getFacesSeverity, getSeverity, getSource, getSummary, gotoPage, handleError, handleError, isHasError, reset, returnBack, setAction, setChainHandler, setDetails, setErrorPage, setSeverity, setSummary |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ANY_ERROR
public static final String CONNECTION_ERROR
public static final String SOAP_FAULT
protected String errorType
Constructor Detail |
---|
public WebserviceClientErrorHandler()
Method Detail |
---|
public String getErrorType()
public void setErrorType(String errorType)
errorType
- Set the error type using WebserviceClientErrorHandler.ANY_ERROR
,
WebserviceClientErrorHandler.CONNECTION_ERROR
, WebserviceClientErrorHandler.SOAP_FAULT
protected boolean parseError()
WebserviceClientErrorHandler.SOAP_FAULT
, also parse the soap fault.
parseError
in class BaseErrorHandler
Throwable.getCause()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |