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:
- java.io.Serializable
- public class WSSecurityException
- extends java.rmi.RemoteException
Exception class for WS-Security.
- Author:
- Davanum Srinivas (dims@yahoo.com).
- See Also:
- Serialized Form
Fields inherited from class java.rmi.RemoteException |
detail |
Methods inherited from class java.rmi.RemoteException |
getCause, getMessage |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FAILURE
public static final int FAILURE
- See Also:
- Constant Field Values
UNSUPPORTED_SECURITY_TOKEN
public static final int UNSUPPORTED_SECURITY_TOKEN
- See Also:
- Constant Field Values
UNSUPPORTED_ALGORITHM
public static final int UNSUPPORTED_ALGORITHM
- See Also:
- Constant Field Values
INVALID_SECURITY
public static final int INVALID_SECURITY
- See Also:
- Constant Field Values
INVALID_SECURITY_TOKEN
public static final int INVALID_SECURITY_TOKEN
- See Also:
- Constant Field Values
FAILED_AUTHENTICATION
public static final int FAILED_AUTHENTICATION
- See Also:
- Constant Field Values
FAILED_CHECK
public static final int FAILED_CHECK
- See Also:
- Constant Field Values
SECURITY_TOKEN_UNAVAILABLE
public static final int SECURITY_TOKEN_UNAVAILABLE
- See Also:
- Constant Field Values
FAILED_ENC_DEC
public static final int FAILED_ENC_DEC
- See Also:
- Constant Field Values
FAILED_SIGNATURE
public static final int FAILED_SIGNATURE
- See Also:
- Constant Field Values
WSSecurityException
public WSSecurityException(int errorCode,
java.lang.String msgId,
java.lang.Object[] args,
java.lang.Throwable exception)
- Constructor.
- Parameters:
errorCode
- msgId
- args
- exception
-
WSSecurityException
public WSSecurityException(int errorCode,
java.lang.String msgId,
java.lang.Object[] args)
- Constructor.
- Parameters:
errorCode
- msgId
- args
-
WSSecurityException
public WSSecurityException(int errorCode,
java.lang.String msgId)
- Constructor.
- Parameters:
errorCode
- msgId
-
WSSecurityException
public WSSecurityException(int errorCode)
- Constructor.
- Parameters:
errorCode
-
getErrorCode
public int getErrorCode()
- Get the error code.
- Returns:
- error code of this exception See values above.