|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.fault.ExceptionBean
final class ExceptionBean
JAXB-bound bean that captures the exception and its call stack.
This is used to capture the stack trace of the server side error and send that over to the client.
| Nested Class Summary | |
|---|---|
(package private) static class |
ExceptionBean.StackFrame
Captures one stack frame. |
| Field Summary | |
|---|---|
ExceptionBean |
cause
|
String |
className
|
(package private) static String |
LOCAL_NAME
|
String |
message
|
String |
note
|
(package private) static String |
NS
Namespace URI. |
List<ExceptionBean.StackFrame> |
stackTrace
|
| Constructor Summary | |
|---|---|
ExceptionBean()
|
|
| Method Summary | |
|---|---|
static boolean |
isStackTraceXml(Element n)
Checks if the given element is the XML representation of ExceptionBean. |
static void |
marshal(Throwable t,
Node parent)
Converts the given Throwable into an XML representation
and put that as a DOM tree under the given node. |
static ServerSideException |
unmarshal(Node xml)
Does the reverse operation of marshal(Throwable, Node). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String className
public String message
public List<ExceptionBean.StackFrame> stackTrace
public ExceptionBean cause
public String note
static final String NS
static final String LOCAL_NAME
| Constructor Detail |
|---|
ExceptionBean()
| Method Detail |
|---|
public static void marshal(Throwable t,
Node parent)
throws JAXBException
Throwable into an XML representation
and put that as a DOM tree under the given node.
JAXBException
public static ServerSideException unmarshal(Node xml)
throws JAXBException
marshal(Throwable, Node). Constructs an
Exception object from the XML.
JAXBExceptionpublic static boolean isStackTraceXml(Element n)
ExceptionBean.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||