|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Deprecated public interface IThrowableToElement
Interface for translating from a Throwable to an Element.
| Method Summary | |
|---|---|
boolean |
supports(Class c)
Deprecated. Returns true if the implementation knows how to translate an instance of the given class into an Element (throwableToElement() will return non-null) for instances of the class, which must extend Throwable). |
Element |
throwableToElement(Throwable t,
Document parentDoc)
Deprecated. Obtain an Element representing the throwable. |
| Method Detail |
|---|
Element throwableToElement(Throwable t,
Document parentDoc)
throws IllegalArgumentException
t - a supported throwableparentDoc - document into which the element is to go
IllegalArgumentException - if t is null.
IllegalArgumentException - if t is unsupported.
boolean supports(Class c)
throws IllegalArgumentException
c - a Class extending Throwable
IllegalArgumentException - if c is null or does not extend Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||