org.apache.ws.security.components.crypto
Class CredentialException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.ws.security.components.crypto.CredentialException
All Implemented Interfaces:
java.io.Serializable

public class CredentialException
extends java.lang.Exception

CredentialException.

Author:
Davanum Srinivas (dims@yahoo.com).
See Also:
Serialized Form

Field Summary
static int DEFECTIVE
           
static int EXPIRED
           
static int FAILURE
           
static int IO_ERROR
           
static int SEC_ERROR
           
 
Constructor Summary
CredentialException(int errorCode, java.lang.String msgId, java.lang.Object[] args)
          Constructor.
CredentialException(int errorCode, java.lang.String msgId, java.lang.Object[] args, java.lang.Throwable root)
          Constructor.
CredentialException(int errorCode, java.lang.String msgId, java.lang.Throwable root)
          Constructor.
 
Method Summary
 int getErrorCode()
          get the 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

FAILURE

public static final int FAILURE
See Also:
Constant Field Values

EXPIRED

public static final int EXPIRED
See Also:
Constant Field Values

DEFECTIVE

public static final int DEFECTIVE
See Also:
Constant Field Values

IO_ERROR

public static final int IO_ERROR
See Also:
Constant Field Values

SEC_ERROR

public static final int SEC_ERROR
See Also:
Constant Field Values
Constructor Detail

CredentialException

public CredentialException(int errorCode,
                           java.lang.String msgId,
                           java.lang.Throwable root)
Constructor.

Parameters:
errorCode -
msgId -
root -

CredentialException

public CredentialException(int errorCode,
                           java.lang.String msgId,
                           java.lang.Object[] args)
Constructor.

Parameters:
errorCode -
msgId -
args -

CredentialException

public CredentialException(int errorCode,
                           java.lang.String msgId,
                           java.lang.Object[] args,
                           java.lang.Throwable root)
Constructor.

Parameters:
errorCode -
msgId -
args -
root -
Method Detail

getErrorCode

public int getErrorCode()
get the error code.

Returns:
error code of this exception See values above.


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.