@Typed public class ExceptionToCatchEvent extends Object implements Serializable
| Constructor and Description |
|---|
ExceptionToCatchEvent(Throwable exception)
Basic constructor without any qualifiers defined.
|
ExceptionToCatchEvent(Throwable exception,
Annotation... qualifiers)
Constructor that adds qualifiers for the handler(s) to run.
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getException() |
Set<Annotation> |
getQualifiers()
Qualifiers with which the instance was created.
|
boolean |
isHandled()
Test to see if the exception has been handled via Solder Catch.
|
void |
setHandled(boolean handled)
Internal only.
|
public ExceptionToCatchEvent(Throwable exception, Annotation... qualifiers)
exception - Exception to handlequalifiers - qualifiers to use to narrow the handlers calledpublic ExceptionToCatchEvent(Throwable exception)
exception - Exception to handle.public Throwable getException()
public void setHandled(boolean handled)
handled - new valuepublic boolean isHandled()
public Set<Annotation> getQualifiers()
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.