public class ExceptionScope extends AbstractContext
Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_SCOPE |
protected Map<String,ExceptionHandler> |
exceptionHandlers |
Constructor and Description |
---|
ExceptionScope() |
Modifier and Type | Method and Description |
---|---|
ExceptionHandler |
getExceptionHandler(String exception) |
Map<String,ExceptionHandler> |
getExceptionHandlers() |
String |
getType() |
void |
removeExceptionHandler(String exception) |
Context |
resolveContext(Object param) |
void |
setExceptionHandler(String exception,
ExceptionHandler exceptionHandler) |
void |
setExceptionHandlers(Map<String,ExceptionHandler> exceptionHandlers) |
getContextContainer, getId, setContextContainer, setId
public static final String EXCEPTION_SCOPE
protected Map<String,ExceptionHandler> exceptionHandlers
public String getType()
public void setExceptionHandler(String exception, ExceptionHandler exceptionHandler)
public ExceptionHandler getExceptionHandler(String exception)
public void removeExceptionHandler(String exception)
public Map<String,ExceptionHandler> getExceptionHandlers()
public void setExceptionHandlers(Map<String,ExceptionHandler> exceptionHandlers)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.