DODS 7.1 API

org.webdocwf.dods.access
Class AccessException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AccessEvalException, AccessRightException

public abstract class AccessException
extends org.enhydra.dods.exceptions.DodsBaseException

See Also:
Serialized Form

Field Summary
 java.lang.String attrName
           
 java.lang.String className
           
 java.lang.String cmp_op
           
 java.lang.String datatype
           
 SecureDO obj
           
 java.lang.String oldValue
           
 java.lang.String operation
           
 User usr
           
 java.lang.String value
           
 
Constructor Summary
AccessException(java.lang.String msg)
          Construct an exception with a message
AccessException(java.lang.String msg, java.lang.Throwable cause)
          Construct an exception with a message
AccessException(java.lang.String msg, java.lang.Throwable cause, 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.
AccessException(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
 void printStackTrace()
          Prints this Exception and its data to the standard error stream.
 void printStackTrace(java.io.PrintStream s)
          Prints this Exception and its data to the e specified print stream.
 void printStackTrace(java.io.PrintWriter s)
          Prints this Exception and its data to the e specified print writer.
protected  void printTrace()
          Prints stacktrace
protected  void printTrace(java.io.PrintStream s)
          Prints stacktrace
 void printTrace(java.io.PrintWriter out)
          Prints stacktrace
 
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
 

Field Detail

usr

public User usr

operation

public java.lang.String operation

obj

public SecureDO obj

className

public java.lang.String className

attrName

public java.lang.String attrName

value

public java.lang.String value

oldValue

public java.lang.String oldValue

datatype

public java.lang.String datatype

cmp_op

public java.lang.String cmp_op
Constructor Detail

AccessException

public AccessException(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

AccessException

public AccessException(java.lang.String msg,
                       java.lang.Throwable cause,
                       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.
cause - The error or exception that cause this 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

AccessException

public AccessException(java.lang.String msg)
Construct an exception with a message

Parameters:
msg - The message associated with the exception.

AccessException

public AccessException(java.lang.String msg,
                       java.lang.Throwable cause)
Construct an exception with a message

Parameters:
msg - The message associated with the exception.
cause - The error or exception that cause this exception.
Method Detail

printStackTrace

public void printStackTrace()
Prints this Exception and its data to the standard error stream.

Overrides:
printStackTrace in class org.enhydra.dods.exceptions.DodsBaseException

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Prints this Exception and its data to the e specified print stream.

Overrides:
printStackTrace in class org.enhydra.dods.exceptions.DodsBaseException

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Prints this Exception and its data to the e specified print writer.

Overrides:
printStackTrace in class org.enhydra.dods.exceptions.DodsBaseException

printTrace

protected void printTrace()
Prints stacktrace


printTrace

protected void printTrace(java.io.PrintStream s)
Prints stacktrace


printTrace

public void printTrace(java.io.PrintWriter out)
Prints stacktrace


DODS 7.1 API