@Scriptable public interface IWebProcessingContext extends de.uplanet.lucy.server.ISimpleProcessingContext, IHttpProcessingContext
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getError()
Get the context error.
|
java.lang.String |
getErrorHandlerId()
Get the identifier of a suitable error handler.
|
ErrorResponseData |
getErrorResponseData()
Get the context error response data.
|
boolean |
hasError() |
boolean |
hasErrorHandlerId()
Get the identifier of a suitable error handler.
|
boolean |
hasErrorResponseData() |
void |
setError(java.lang.Throwable p_error)
Set the context error.
|
void |
setErrorHandlerId(java.lang.String p_strErrorHandlerId)
Set the identifier of a suitable error handler.
|
void |
setErrorResponseData(ErrorResponseData p_errorResponseData)
Set the context error response data.
|
getConnection
getImpersonateUserGuid, getSession, getUserTimeZone, isImpersonated, popImpersonateUserGuid, popSession, pushImpersonateUserGuid, pushSession
getSharedState
getResponse, getView, getViewData, hasView, setViewData
getRequest
getContextValueProvider
boolean hasError()
true
if the processing context contains an error,
or false
otherwise..java.lang.Throwable getError()
hasError()
is true
this method returns an
exception that's related to the cause of the error.void setError(java.lang.Throwable p_error)
p_error
- The context error.boolean hasErrorResponseData()
true
if the processing context contains
error response data, or false
otherwise.ErrorResponseData getErrorResponseData()
hasErrorResponseData()
is true
this method
returns an error response object.void setErrorResponseData(ErrorResponseData p_errorResponseData)
p_errorResponseData
- The context error response data.boolean hasErrorHandlerId()
null
.java.lang.String getErrorHandlerId()
null
.void setErrorHandlerId(java.lang.String p_strErrorHandlerId)
p_strErrorHandlerId
- The identifier of an error handler.