T - Exception type this event represents@Typed public class DefaultExceptionEvent<T extends Throwable> extends Object implements org.apache.deltaspike.core.spi.exception.control.IntrospectiveExceptionEvent<T>
| Constructor and Description |
|---|
DefaultExceptionEvent(org.apache.deltaspike.core.api.exception.control.event.ExceptionStackEvent stackEvent,
boolean beforeTraversal,
boolean handled)
Initial state constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
org.apache.deltaspike.core.api.exception.control.ExceptionHandlingFlow |
getCurrentExceptionHandlingFlow() |
T |
getException() |
Throwable |
getThrowNewException() |
void |
handled() |
void |
handledAndContinue() |
boolean |
isBeforeTraversal() |
boolean |
isMarkedHandled() |
boolean |
isUnmute() |
void |
rethrow(Throwable t) |
void |
skipCause() |
void |
throwOriginal() |
void |
unmute() |
public DefaultExceptionEvent(org.apache.deltaspike.core.api.exception.control.event.ExceptionStackEvent stackEvent,
boolean beforeTraversal,
boolean handled)
stackEvent - Information about the current exception and cause chain.beforeTraversal - flag indicating the direction of the cause chain traversalhandled - flag indicating the exception has already been handled by a previous handlerIllegalArgumentException - if stackEvent is nullpublic T getException()
public void abort()
public void throwOriginal()
public void handled()
public void handledAndContinue()
public void skipCause()
public void unmute()
public boolean isUnmute()
public org.apache.deltaspike.core.api.exception.control.ExceptionHandlingFlow getCurrentExceptionHandlingFlow()
public boolean isMarkedHandled()
public boolean isBeforeTraversal()
public void rethrow(Throwable t)
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.