FileDocCategorySizeDatePackage
FaultDetailException.javaAPI DocphoneME MR2 API (J2ME)2895Wed May 02 18:00:34 BST 2007javax.microedition.xml.rpc

FaultDetailException

public class FaultDetailException extends 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.

see
javax.xml.rpc.JAXRPCException
see
javax.microedition.xml.rpc.FaultDetailHandler
version
1.0

Fields Summary
private Object
faultDetail
private QName
faultDetailName
Constructors Summary
public FaultDetailException(QName faultDetailName, Object faultDetail)
Constructs a new exception with the specified fault detail and associated fault detail QName.

param
faultDetail Object array containing the values for SOAP fault detail. The values are retrieved using the getFaultDetail method
param
faultDetailName the QName of the SOAP fault detail element
see
javax.xml.namespace.QName

	this.faultDetail = faultDetail;
	this.faultDetailName = faultDetailName;
    
Methods Summary
public java.lang.ObjectgetFaultDetail()
Returns the fault detail values

return
the fault detail values for the service specific exception

	return this.faultDetail;
    
public javax.xml.namespace.QNamegetFaultDetailName()
Returns the QName of the fault detail element associated with this exception.

return
the QName of the fault detail element
see
javax.xml.namespace.QName

	return this.faultDetailName;