Package org.apache.ws.security
Class WSSecurityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
org.apache.ws.security.WSSecurityException
- All Implemented Interfaces:
Serializable
Exception class for WS-Security.
- Author:
- Davanum Srinivas (dims@yahoo.com).
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class java.rmi.RemoteException
detail
-
Constructor Summary
ConstructorsConstructorDescriptionWSSecurityException
(int errorCode) Constructor.WSSecurityException
(int errorCode, String msgId) Constructor.WSSecurityException
(int errorCode, String msgId, Object[] args) Constructor.WSSecurityException
(int errorCode, String msgId, Object[] args, Throwable exception) Constructor.WSSecurityException
(String errorMessage) Constructor.WSSecurityException
(String errorMessage, Throwable t) Constructor. -
Method Summary
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
FAILURE
public static final int FAILURE- See Also:
-
UNSUPPORTED_SECURITY_TOKEN
public static final int UNSUPPORTED_SECURITY_TOKEN- See Also:
-
UNSUPPORTED_ALGORITHM
public static final int UNSUPPORTED_ALGORITHM- See Also:
-
INVALID_SECURITY
public static final int INVALID_SECURITY- See Also:
-
INVALID_SECURITY_TOKEN
public static final int INVALID_SECURITY_TOKEN- See Also:
-
FAILED_AUTHENTICATION
public static final int FAILED_AUTHENTICATION- See Also:
-
FAILED_CHECK
public static final int FAILED_CHECK- See Also:
-
SECURITY_TOKEN_UNAVAILABLE
public static final int SECURITY_TOKEN_UNAVAILABLE- See Also:
-
FAILED_ENC_DEC
public static final int FAILED_ENC_DEC- See Also:
-
FAILED_SIGNATURE
public static final int FAILED_SIGNATURE- See Also:
-
-
Constructor Details
-
WSSecurityException
Constructor.- Parameters:
errorCode
-msgId
-args
-exception
-
-
WSSecurityException
Constructor.- Parameters:
errorCode
-msgId
-args
-
-
WSSecurityException
Constructor.- Parameters:
errorCode
-msgId
-
-
WSSecurityException
public WSSecurityException(int errorCode) Constructor.- Parameters:
errorCode
-
-
WSSecurityException
Constructor.- Parameters:
errorMessage
-
-
WSSecurityException
Constructor.- Parameters:
errorMessage
-
-
-
Method Details
-
getErrorCode
public int getErrorCode()Get the error code.- Returns:
- error code of this exception See values above.
-