|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.channels.error.error2xml.ThrowableToElement
@Deprecated public class ThrowableToElement
Generic ThrowableToElement which will translate any Throwable to an Element representing it. Other IThrowableToElement implementations may use this implementation as a utility to perform the generic Throwable translation and then add to the results.
| Constructor Summary | |
|---|---|
ThrowableToElement()
Deprecated. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThrowableToElement()
| Method Detail |
|---|
public Element throwableToElement(Throwable t,
Document parentDoc)
throws IllegalArgumentException
IThrowableToElement
throwableToElement in interface IThrowableToElementt - a supported throwableparentDoc - document into which the element is to go
IllegalArgumentException - if t is null.
public boolean supports(Class c)
throws IllegalArgumentException
IThrowableToElement
supports in interface IThrowableToElementc - 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 | |||||||||