org.apache.wss4j.common.ext
Enum WSSecurityException.ErrorCode

java.lang.Object
  extended by java.lang.Enum<WSSecurityException.ErrorCode>
      extended by org.apache.wss4j.common.ext.WSSecurityException.ErrorCode
All Implemented Interfaces:
Serializable, Comparable<WSSecurityException.ErrorCode>
Enclosing class:
WSSecurityException

public static enum WSSecurityException.ErrorCode
extends Enum<WSSecurityException.ErrorCode>


Enum Constant Summary
FAILED_AUTHENTICATION
           
FAILED_CHECK
           
FAILED_ENCRYPTION
           
FAILED_SIGNATURE
           
FAILURE
           
INVALID_SECURITY
           
INVALID_SECURITY_TOKEN
           
MESSAGE_EXPIRED
           
SECURITY_TOKEN_UNAVAILABLE
           
UNSUPPORTED_ALGORITHM
           
UNSUPPORTED_SECURITY_TOKEN
           
 
Method Summary
 QName getQName()
           
static WSSecurityException.ErrorCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WSSecurityException.ErrorCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FAILURE

public static final WSSecurityException.ErrorCode FAILURE

UNSUPPORTED_SECURITY_TOKEN

public static final WSSecurityException.ErrorCode UNSUPPORTED_SECURITY_TOKEN

UNSUPPORTED_ALGORITHM

public static final WSSecurityException.ErrorCode UNSUPPORTED_ALGORITHM

INVALID_SECURITY

public static final WSSecurityException.ErrorCode INVALID_SECURITY

INVALID_SECURITY_TOKEN

public static final WSSecurityException.ErrorCode INVALID_SECURITY_TOKEN

FAILED_AUTHENTICATION

public static final WSSecurityException.ErrorCode FAILED_AUTHENTICATION

FAILED_CHECK

public static final WSSecurityException.ErrorCode FAILED_CHECK

SECURITY_TOKEN_UNAVAILABLE

public static final WSSecurityException.ErrorCode SECURITY_TOKEN_UNAVAILABLE

MESSAGE_EXPIRED

public static final WSSecurityException.ErrorCode MESSAGE_EXPIRED

FAILED_ENCRYPTION

public static final WSSecurityException.ErrorCode FAILED_ENCRYPTION

FAILED_SIGNATURE

public static final WSSecurityException.ErrorCode FAILED_SIGNATURE
Method Detail

values

public static WSSecurityException.ErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (WSSecurityException.ErrorCode c : WSSecurityException.ErrorCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WSSecurityException.ErrorCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getQName

public QName getQName()


Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.