Class ExceptionScope
- java.lang.Object
-
- org.jbpm.process.core.context.AbstractContext
-
- org.jbpm.process.core.context.exception.ExceptionScope
-
- All Implemented Interfaces:
Serializable,Context
- Direct Known Subclasses:
CompensationScope
public class ExceptionScope extends AbstractContext
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringEXCEPTION_SCOPEprotected Map<String,ExceptionHandler>exceptionHandlers
-
Constructor Summary
Constructors Constructor Description ExceptionScope()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptionHandlergetExceptionHandler(String exception)Map<String,ExceptionHandler>getExceptionHandlers()StringgetType()voidremoveExceptionHandler(String exception)ContextresolveContext(Object param)voidsetExceptionHandler(String exception, ExceptionHandler exceptionHandler)voidsetExceptionHandlers(Map<String,ExceptionHandler> exceptionHandlers)-
Methods inherited from class org.jbpm.process.core.context.AbstractContext
getContextContainer, getId, setContextContainer, setId
-
-
-
-
Field Detail
-
EXCEPTION_SCOPE
public static final String EXCEPTION_SCOPE
- See Also:
- Constant Field Values
-
exceptionHandlers
protected Map<String,ExceptionHandler> exceptionHandlers
-
-
Method Detail
-
getType
public String getType()
-
setExceptionHandler
public void setExceptionHandler(String exception, ExceptionHandler exceptionHandler)
-
getExceptionHandler
public ExceptionHandler getExceptionHandler(String exception)
-
removeExceptionHandler
public void removeExceptionHandler(String exception)
-
getExceptionHandlers
public Map<String,ExceptionHandler> getExceptionHandlers()
-
setExceptionHandlers
public void setExceptionHandlers(Map<String,ExceptionHandler> exceptionHandlers)
-
-