DODS 5.1 API

org.webdocwf.dods.access
Class AccessEvalException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.webdocwf.dods.access.AccessException
                    |
                    +--org.webdocwf.dods.access.AccessEvalException
All Implemented Interfaces:
java.io.Serializable

public class AccessEvalException
extends AccessException

Exception used as a base for creating an exception that has a chain of exceptions that lead to the derived exception. Very useful for interfaces where the implementation exception is not known.

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
AccessEvalException(java.lang.String msg)
          Construct an exception without a specified cause.
AccessEvalException(java.lang.String msg, java.lang.Throwable cause)
          Construct an exception with an associated causing exception.
AccessEvalException(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, a cause and detail data.
AccessEvalException(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.
AccessEvalException(java.lang.Throwable cause)
          Construct an exception from a causing exception.
AccessEvalException(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 cause and detail data.
 
Method Summary
 void printStackTrace()
          Prints this ChainedException and its backtrace, and the causes and their stack traces to the standard error stream.
 void printStackTrace(java.io.PrintStream s)
          Prints this ChainedException and its backtrace, and the causes and their stack traces to the e specified print stream.
 void printStackTrace(java.io.PrintWriter s)
          Prints this ChainedException and its backtrace, and the causes and their stack traces to the e specified print writer.
 
Methods inherited from class org.webdocwf.dods.access.AccessException
printTrace, printTrace, printTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccessEvalException

public AccessEvalException(java.lang.String msg)
Construct an exception without a specified cause.

Parameters:
msg - The message associated with the exception.

AccessEvalException

public AccessEvalException(java.lang.String msg,
                           java.lang.Throwable cause)
Construct an exception with an associated causing exception.

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

AccessEvalException

public AccessEvalException(java.lang.Throwable cause)
Construct an exception from a causing exception.

Parameters:
cause - The error or exception that cause this exception. The message will be take be this object's messasge.

AccessEvalException

public AccessEvalException(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 cause and detail data.

Parameters:
cause - The error or exception that cause this exception. The message will be take be this object's messasge.
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

AccessEvalException

public AccessEvalException(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, a cause and detail data.

Parameters:
msg - The message associated with the exception.
cause - The error or exception that cause this exception. The message will be take be this object's messasge.
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

AccessEvalException

public AccessEvalException(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
Method Detail

printStackTrace

public void printStackTrace()
Prints this ChainedException and its backtrace, and the causes and their stack traces to the standard error stream.

Overrides:
printStackTrace in class AccessException

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Prints this ChainedException and its backtrace, and the causes and their stack traces to the e specified print stream.

Overrides:
printStackTrace in class AccessException

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Prints this ChainedException and its backtrace, and the causes and their stack traces to the e specified print writer.

Overrides:
printStackTrace in class AccessException

DODS 5.1 API