BenQ Mobile

javax.microedition.xml.rpc
Class FaultDetailException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.microedition.xml.rpc.FaultDetailException
All Implemented Interfaces:
java.io.Serializable

public class FaultDetailException
extends java.lang.Exception

The FaultDetailException class is used to return service specific exception detail values, and an associated QName, to a Stub instance.

This exception class is returned from the runtime implementation as the cause of a JAXRPCException and retrieved via the JAXRPCException.getLinkedCause method.

Version:
1.0
See Also:
JAXRPCException, FaultDetailHandler, Serialized Form

Constructor Summary
FaultDetailException(QName lfaultDetailName, java.lang.Object lfaultDetail)
          Constructs a new exception with the specified fault detail and associated fault detail QName.
 
Method Summary
 java.lang.Object getFaultDetail()
          Returns the fault detail values.
 QName getFaultDetailName()
          Returns the QName of the fault detail element associated with this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FaultDetailException

public FaultDetailException(QName lfaultDetailName,
                            java.lang.Object lfaultDetail)
Constructs a new exception with the specified fault detail and associated fault detail QName.

Parameters:
lfaultDetail - Object array containing the values for SOAP fault detail. The values are retrieved using the getFaultDetail method
lfaultDetailName - the QName of the SOAP fault detail element
See Also:
QName
Method Detail

getFaultDetail

public java.lang.Object getFaultDetail()
Returns the fault detail values.

Returns:
the fault detail values for the service specific exception

getFaultDetailName

public QName getFaultDetailName()
Returns the QName of the fault detail element associated with this exception.

Returns:
the QName of the fault detail element
See Also:
QName

BenQ Mobile

Copyright © 2006 BenQ Mobile GmbH & Co. OHG or respective copyright owner.
All Rights Reserved.
BenQ Corp. is a trademark licensee of Siemens AG.


For further information about Mobility Toolkit (MTK) visit our Developer Portal.