Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.

Copyright © 2007 Sun Microsystems, Inc. All rights reserved.

JSR 172

javax.microedition.xml.rpc
Class FaultDetailException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.microedition.xml.rpc.FaultDetailException

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

Constructor Summary
FaultDetailException(QName faultDetailName, java.lang.Object faultDetail)
          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
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FaultDetailException

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

Parameters:
faultDetail - Object array containing the values for SOAP fault detail. The values are retrieved using the getFaultDetail method
faultDetailName - 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

JSR 172

Copyright © 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 172 specification.