public class WSSecurityException extends Exception
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Get the error code.
|
QName |
getFaultCode()
Get the fault code QName for this associated error code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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
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 int getErrorCode()
public QName getFaultCode()
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.