Class GenericCasWebflowExceptionHandler
java.lang.Object
org.apereo.cas.web.flow.authentication.GenericCasWebflowExceptionHandler
- All Implemented Interfaces:
CasWebflowExceptionHandler<Exception>,org.springframework.core.Ordered
public class GenericCasWebflowExceptionHandler
extends Object
implements CasWebflowExceptionHandler<Exception>
This is
GenericCasWebflowExceptionHandler.- Since:
- 6.1.0
-
Field Summary
Fields inherited from interface org.apereo.cas.web.flow.authentication.CasWebflowExceptionHandler
UNKNOWNFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionGenericCasWebflowExceptionHandler(CasWebflowExceptionCatalog errors, String messageBundlePrefix) Creates a newGenericCasWebflowExceptionHandlerinstance. -
Method Summary
-
Constructor Details
-
GenericCasWebflowExceptionHandler
public GenericCasWebflowExceptionHandler(CasWebflowExceptionCatalog errors, String messageBundlePrefix) Creates a newGenericCasWebflowExceptionHandlerinstance.- Parameters:
errors-messageBundlePrefix- String appended to exception class name to create a message bundle key for that particular error.
-
-
Method Details
-
handle
public org.springframework.webflow.execution.Event handle(Exception exception, org.springframework.webflow.execution.RequestContext requestContext) Description copied from interface:CasWebflowExceptionHandlerHandle event.- Specified by:
handlein interfaceCasWebflowExceptionHandler<Exception>- Parameters:
exception- the exceptionrequestContext- the request context- Returns:
- the event
-
supports
public boolean supports(Exception exception, org.springframework.webflow.execution.RequestContext requestContext) Description copied from interface:CasWebflowExceptionHandlerSupports exception.- Specified by:
supportsin interfaceCasWebflowExceptionHandler<Exception>- Parameters:
exception- the exceptionrequestContext- the request context- Returns:
- true /false
-
getErrors
-
getMessageBundlePrefix
String appended to exception class name to create a message bundle key for that particular error. -
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int order)
-