edu.nyu.cs.pdsg.drbac
Class CredentialException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byedu.nyu.cs.pdsg.drbac.CredentialException
All Implemented Interfaces:
java.io.Serializable

public class CredentialException
extends java.lang.Exception

If something goes wrong, this is what lets you know about it;

See Also:
Serialized Form

Field Summary
static int addInvalidDelegation
           
static int createWithWithBadRole
           
 int exceptionType
           
static int invalidDelegId
           
static int invSupportProof
           
static int nonexistentDelegation
           
static int programBug
           
static int unauthorizedRemoveDelegation
           
static int unauthorizedWallet
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
CredentialException(int _exceptionType)
          Initialize a CredentialException
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

exceptionType

public int exceptionType

createWithWithBadRole

public static final int createWithWithBadRole
See Also:
Constant Field Values

addInvalidDelegation

public static final int addInvalidDelegation
See Also:
Constant Field Values

unauthorizedRemoveDelegation

public static final int unauthorizedRemoveDelegation
See Also:
Constant Field Values

nonexistentDelegation

public static final int nonexistentDelegation
See Also:
Constant Field Values

programBug

public static final int programBug
See Also:
Constant Field Values

invSupportProof

public static final int invSupportProof
See Also:
Constant Field Values

invalidDelegId

public static final int invalidDelegId
See Also:
Constant Field Values

unauthorizedWallet

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

CredentialException

public CredentialException(int _exceptionType)
Initialize a CredentialException

Parameters:
_exceptionType - the type of exception
Method Detail

getMessage

public java.lang.String getMessage()
Returns:
the human readable description of this exception


Copyright (c) 2002-2003 New York University RLAB