|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.ws.security.WSSecurityException
public class WSSecurityException
Exception class for WS-Security.
Field Summary | |
---|---|
static int |
FAILED_AUTHENTICATION
|
static int |
FAILED_CHECK
|
static int |
FAILED_ENCRYPTION
|
static int |
FAILED_SIGNATURE
|
static int |
FAILURE
|
static int |
INVALID_SECURITY
|
static int |
INVALID_SECURITY_TOKEN
|
static int |
MESSAGE_EXPIRED
|
static int |
SECURITY_TOKEN_UNAVAILABLE
|
static int |
UNSUPPORTED_ALGORITHM
|
static int |
UNSUPPORTED_SECURITY_TOKEN
|
Constructor Summary | |
---|---|
WSSecurityException(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 | |
---|---|
int |
getErrorCode()
Get the error code. |
QName |
getFaultCode()
Get the fault code QName for this associated error code. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int FAILURE
public static final int UNSUPPORTED_SECURITY_TOKEN
public static final int UNSUPPORTED_ALGORITHM
public static final int INVALID_SECURITY
public static final int INVALID_SECURITY_TOKEN
public static final int FAILED_AUTHENTICATION
public static final int FAILED_CHECK
public static final int SECURITY_TOKEN_UNAVAILABLE
public static final int MESSAGE_EXPIRED
public static final int FAILED_ENCRYPTION
public static final int FAILED_SIGNATURE
Constructor Detail |
---|
public WSSecurityException(int errorCode, String msgId, Object[] args, Throwable exception)
errorCode
- msgId
- args
- exception
- public WSSecurityException(int errorCode, String msgId, Object[] args)
errorCode
- msgId
- args
- public WSSecurityException(int errorCode, String msgId)
errorCode
- msgId
- public WSSecurityException(int errorCode)
errorCode
- public WSSecurityException(String errorMessage)
errorMessage
- public WSSecurityException(String errorMessage, Throwable t)
errorMessage
- Method Detail |
---|
public int getErrorCode()
public QName getFaultCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |