public class WSSecurityException extends RemoteException
| 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 |
detail| 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 |
|---|---|
Throwable |
getCause() |
int |
getErrorCode()
Get the error code.
|
javax.xml.namespace.QName |
getFaultCode()
Get the fault code QName for this associated error code.
|
String |
getMessage(boolean verbose)
Get message allowing for having cause's message included if verbose mode is on
|
getMessageaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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 javax.xml.namespace.QName getFaultCode()
public Throwable getCause()
getCause in class RemoteExceptionpublic String getMessage(boolean verbose)
verbose - Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.