|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.microedition.xml.rpc.FaultDetailException
public class FaultDetailException
In web services, the FaultDetailException
class returns service
specific exception detail values, and an associated
QName
, to a Stub
instance.
Using the description of the SOAP fault detail, the runtime encodes
the SOAP fault detail in an Object
array. This
Object
array, and the associated QName
,
are passed back to the stub in a FaultDetailException
object which is linked, as the cause, in a
JAXRPCException
object. The stub decodes the
Object
array, and throws the service specific exception
to the application.
See JSR 172 Specification, Subsection 8.2.7 (Error Handling - Service Specific Exceptions).
SeeJAXRPCException
,
FaultDetailHandler
,
QName
.
Constructor Summary | ||
---|---|---|
FaultDetailException(QName detailName,
Object faultDetail)
Constructs an exception given the fault detail and its qualified name. |
Method Summary | ||
---|---|---|
Object |
getFaultDetail()
Returns the Object array representing the fault detail value. |
|
QName |
getFaultDetailName()
Returns the qualified name of the fault detail. |
Methods inherited from class java.lang.Throwable |
---|
getMessage, printStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FaultDetailException(QName detailName, Object faultDetail)
faultDetail
- Object
array storing the values for
the SOAP fault detail.detailName
- the qualified name of the SOAP fault detail.Method Detail |
---|
public Object getFaultDetail()
Object
array representing the fault detail value.
Object
array representing the fault detail value.public QName getFaultDetailName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal