cern.cmw
Class NoPermission

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by cern.cmw.CmwException
              extended by cern.cmw.NoPermission
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccessDenied, BadToken, TokenExpired

public class NoPermission
extends CmwException

Indicates access denial to some of the properties issued from Role Based Access Control. The message specifies the exact cause of denial, e.g. incorrect RBA token signature or no sufficient access rights. The message is available via the method getMessage.

See Also:
Serialized Form

Constructor Summary
NoPermission()
           
NoPermission(String message)
           
NoPermission(String message, int errorNumber)
           
 
Method Summary
 int getErrorNumber()
           
 
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
 

Constructor Detail

NoPermission

public NoPermission()

NoPermission

public NoPermission(String message)

NoPermission

public NoPermission(String message,
                    int errorNumber)
Method Detail

getErrorNumber

public int getErrorNumber()
Returns:
the errorNumber


Copyright © 2007 CERN. All Rights Reserved.