org.apache.cxf.ws.security.sts.provider
Class STSException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.cxf.ws.security.sts.provider.STSException
- All Implemented Interfaces:
- Serializable
public class STSException
- extends RuntimeException
A RuntimeException that can be thrown by an STS implementation. If the FaultCode is set, then this
code/String will be returned to the user, otherwise the Exception message is returned.
- See Also:
- Serialized Form
WST_NS_05_12
public static final String WST_NS_05_12
- WS-Trust 1.3 namespace
- See Also:
- Constant Field Values
INVALID_REQUEST
public static final QName INVALID_REQUEST
- Specification Fault Codes
FAILED_AUTH
public static final QName FAILED_AUTH
REQUEST_FAILED
public static final QName REQUEST_FAILED
INVALID_TOKEN
public static final QName INVALID_TOKEN
AUTH_BAD_ELEMENTS
public static final QName AUTH_BAD_ELEMENTS
BAD_REQUEST
public static final QName BAD_REQUEST
EXPIRED_DATA
public static final QName EXPIRED_DATA
INVALID_TIME
public static final QName INVALID_TIME
INVALID_SCOPE
public static final QName INVALID_SCOPE
RENEW_NEEDED
public static final QName RENEW_NEEDED
UNABLE_TO_RENEW
public static final QName UNABLE_TO_RENEW
STSException
public STSException(String message)
STSException
public STSException(String message,
QName faultCode)
STSException
public STSException(String message,
Throwable e)
STSException
public STSException(String message,
Throwable e,
QName faultCode)
setFaultCode
public void setFaultCode(QName faultCode)
getFaultCode
public QName getFaultCode()
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
Apache CXF