public class ExceptionToCatch extends Object implements Serializable
Constructor and Description |
---|
ExceptionToCatch()
Basic constructor
|
ExceptionToCatch(Throwable exception)
Basic constructor without any qualifiers defined.
|
ExceptionToCatch(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.
|
protected void |
setHandled(boolean handled) |
public ExceptionToCatch()
public ExceptionToCatch(Throwable exception, Annotation... qualifiers)
exception
- Exception to handlequalifiers
- qualifiers to use to narrow the handlers calledpublic ExceptionToCatch(Throwable exception)
exception
- Exception to handle.public Throwable getException()
protected void setHandled(boolean handled)
public boolean isHandled()
public Set<Annotation> getQualifiers()
Copyright © 2012 Seam Framework. All Rights Reserved.