FileDocCategorySizeDatePackage
WSTrustSOAPFaultException.javaAPI DocExample6002Tue May 29 16:56:54 BST 2007com.sun.xml.ws.security.trust

WSTrustSOAPFaultException

public class WSTrustSOAPFaultException extends RuntimeException
Captures the SOAPFault that needs to be thrown by an STS when a processing error occurs
author
Kumar Jayanti

Fields Summary
public static final QName
WS_TRUST_INVALID_REQUEST_FAULT
public static final QName
WS_TRUST_FAILED_AUTHENTICATION_FAULT
public static final QName
WS_TRUST_REQUEST_FAILED_FAULT
public static final QName
WS_TRUST_INVALID_SECURITYTOKEN_FAULT
public static final QName
WS_TRUST_AUTHENTICATION_BAD_ELEMENTS_FAULT
public static final QName
WS_TRUST_EXPIRED_DATA_FAULT
public static final QName
WS_TRUST_INVALID_TIMERANGE_FAULT
public static final QName
WS_TRUST_INVALID_SCOPE_FAULT
public static final QName
WS_TRUST_RENEW_NEEDED_FAULT
public static final QName
WS_TRUST_UNABLE_TO_RENEW_FAULT
public static final QName
WS_TRUST_BAD_REQUEST_FAULT
public static final String
WS_TRUST_INVALID_REQUEST_FAULTSTRING
public static final String
WS_TRUST_FAILED_AUTHENTICATION_FAULTSTRING
public static final String
WS_TRUST_REQUEST_FAILED_FAULTSTRING
public static final String
WS_TRUST_INVALID_SECURITYTOKEN_FAULTSTRING
public static final String
WS_TRUST_AUTHENTICATION_BAD_ELEMENTS_FAULTSTRING
public static final String
WS_TRUST_BAD_REQUEST_FAULTSTRING
public static final String
WS_TRUST_EXPIRED_DATA_FAULTSTRING
public static final String
WS_TRUST_INVALID_TIMERANGE_FAULTSTRING
public static final String
WS_TRUST_INVALID_SCOPE_FAULTSTRING
public static final String
WS_TRUST_RENEW_NEEDED_FAULTSTRING
public static final String
WS_TRUST_UNABLE_TO_RENEW_FAULTSTRING
private final QName
faultCode
private final String
faultString
Constructors Summary
public WSTrustSOAPFaultException(String message, Throwable cause, QName faultCode, String faultString)
Creates a new instance of WSTrustSOAPFaultException

    
                 
             
        super(message,cause);
        this.faultCode = faultCode;
        this.faultString = faultString;
    
Methods Summary
public javax.xml.namespace.QNamegetFaultCode()
Get the FaultCode (QName) for this exception

        return faultCode;
    
public java.lang.StringgetFaultString()
Get the FaultString for this exception

        return faultString;