org.systinet.wasp.security.ws
Class WSSecurityException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.idoox.security.util.RuntimeWrappedException
                  extended byorg.systinet.wasp.security.ws.WSSecurityException
All Implemented Interfaces:
java.io.Serializable

public class WSSecurityException
extends RuntimeWrappedException

Thrown to indicate that an error occured during WS-Security processing.

See Also:
Serialized Form
Component:
Security-Providers

Field Summary
static WSSecurityException FAILED_AUTHENTICATION
          Deprecated. Throw a new instance of WSSecurityException.
static WSSecurityException FAILED_CHECK
          Deprecated. Throw a new instance of WSSecurityException.
static WSSecurityException INVALID_SECURITY
          Deprecated. Throw a new instance of WSSecurityException.
static WSSecurityException INVALID_SECURITY_TOKEN
          Deprecated. Throw a new instance of WSSecurityException.
static WSSecurityException SECURITY_TOKEN_UNAVAILABLE
          Deprecated. Throw a new instance of WSSecurityException.
static WSSecurityException UNSUPPORTED_ALGORITHM
          Deprecated. Throw a new instance of WSSecurityException.
static WSSecurityException UNSUPPORTED_SECURITY_TOKEN
          Deprecated. Throw a new instance of WSSecurityException.
 
Constructor Summary
WSSecurityException(java.lang.String faultCode)
          Constructs a new exception with the specified fault code.
WSSecurityException(java.lang.String faultCode, java.lang.String message)
          Constructs a new exception with the specified fault code and message.
WSSecurityException(java.lang.String faultCode, java.lang.Throwable cause)
          Constructs a new exception with the fault code and the cause.
WSSecurityException(java.lang.Throwable cause)
          Constructs a new exception with the specified cause.
 
Method Summary
 java.lang.String getFaultCode()
          Gets fault code.
 
Methods inherited from class org.idoox.security.util.RuntimeWrappedException
getException, getRootException, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNSUPPORTED_SECURITY_TOKEN

public static final WSSecurityException UNSUPPORTED_SECURITY_TOKEN
Deprecated. Throw a new instance of WSSecurityException.

Constant representing WS-Security fault UNSUPPORTED SECURITY TOKEN.


INVALID_SECURITY

public static final WSSecurityException INVALID_SECURITY
Deprecated. Throw a new instance of WSSecurityException.

Constant representing WS-Security fault INVALID SECURITY.


FAILED_AUTHENTICATION

public static final WSSecurityException FAILED_AUTHENTICATION
Deprecated. Throw a new instance of WSSecurityException.

Constant representing WS-Security fault FAILED AUTHENTICATION.


FAILED_CHECK

public static final WSSecurityException FAILED_CHECK
Deprecated. Throw a new instance of WSSecurityException.

Constant representing WS-Security fault FAILED CHECK.


INVALID_SECURITY_TOKEN

public static final WSSecurityException INVALID_SECURITY_TOKEN
Deprecated. Throw a new instance of WSSecurityException.

Constant representing WS-Security fault INVALID SECURITY TOKEN.


SECURITY_TOKEN_UNAVAILABLE

public static final WSSecurityException SECURITY_TOKEN_UNAVAILABLE
Deprecated. Throw a new instance of WSSecurityException.

Constant representing WS-Security fault SECURITY TOKEN UNAVAILABLE.


UNSUPPORTED_ALGORITHM

public static final WSSecurityException UNSUPPORTED_ALGORITHM
Deprecated. Throw a new instance of WSSecurityException.

Constant representing WS-Security fault UNSUPPORTED ALGORITHM.

Constructor Detail

WSSecurityException

public WSSecurityException(java.lang.String faultCode)
Constructs a new exception with the specified fault code.

Parameters:
faultCode - fault code

WSSecurityException

public WSSecurityException(java.lang.String faultCode,
                           java.lang.String message)
Constructs a new exception with the specified fault code and message.

Parameters:
faultCode - fault code, see ERROR_XXX constants in Constants
message - fault string
See Also:
Constants

WSSecurityException

public WSSecurityException(java.lang.Throwable cause)
Constructs a new exception with the specified cause.

Parameters:
cause - the cause

WSSecurityException

public WSSecurityException(java.lang.String faultCode,
                           java.lang.Throwable cause)
Constructs a new exception with the fault code and the cause.

Parameters:
faultCode - fault code - see available fault codes ERROR_XXX in Constants
cause - the cause
Method Detail

getFaultCode

public java.lang.String getFaultCode()
Gets fault code.

Returns:
fault code