DODS 7.2 API

org.webdocwf.dods.access
Class AccessRightException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.enhydra.dods.exceptions.DodsBaseException
              extended by org.webdocwf.dods.access.AccessException
                  extended by org.webdocwf.dods.access.AccessRightException
All Implemented Interfaces:
java.io.Serializable

public class AccessRightException
extends AccessException

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.webdocwf.dods.access.AccessException
attrName, className, cmp_op, datatype, obj, oldValue, operation, usr, value
 
Constructor Summary
AccessRightException(java.lang.String msg)
          Construct an exception without a specified message.
AccessRightException(java.lang.String msg, User inUsr, java.lang.String inOperation, SecureDO inObj, java.lang.String inClassName, java.lang.String inAttrName, java.lang.String inValue, java.lang.String inOldValue, java.lang.String inDatatype, java.lang.String inCmp_op)
          Construct an exception with a message and detail data.
 
Method Summary
 
Methods inherited from class org.webdocwf.dods.access.AccessException
printStackTrace, printStackTrace, printStackTrace, printTrace, printTrace, printTrace
 
Methods inherited from class org.enhydra.dods.exceptions.DodsBaseException
getCause, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccessRightException

public AccessRightException(java.lang.String msg)
Construct an exception without a specified message.

Parameters:
msg - The message associated with the exception.

AccessRightException

public AccessRightException(java.lang.String msg,
                            User inUsr,
                            java.lang.String inOperation,
                            SecureDO inObj,
                            java.lang.String inClassName,
                            java.lang.String inAttrName,
                            java.lang.String inValue,
                            java.lang.String inOldValue,
                            java.lang.String inDatatype,
                            java.lang.String inCmp_op)
Construct an exception with a message and detail data.

Parameters:
msg - The message associated with the exception.
inUsr - The user for the access right check
inOperation - The desired operation
inObj - The accessed object
inClassName - The accessed class
inAttrName - The accessed attribute
inValue - The accessed value
inOldValue - The new value in set-operations
inDatatype - The datatype of the value
inCmp_op - The comparison operator for queries

DODS 7.2 API