## net.sf.saxon.value
Class ErrorValue

    java.lang.Object
      net.sf.saxon.value.Value
          net.sf.saxon.value.AtomicValue
              net.sf.saxon.value.ObjectValue
                  net.sf.saxon.value.ErrorValue

All Implemented Interfaces:
  Expression, Item, java.io.Serializable, ValueRepresentation

public class ErrorValue
extends ObjectValue

An ErrorValue is a value that has failed validation. It is used by methods that can either return a value or an error.

See Also:
  Serialized Form

Field Summary

Fields inherited from interface net.sf.saxon.expr.Expression
`EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD`

Constructor Summary
`ErrorValue(ValidationException err)`

Method Summary
`ValidationException` `getException()`

Methods inherited from class net.sf.saxon.value.ObjectValue
`convertPrimitive, convertToJava, equals, getItemType, getObject, getStringValue, hashCode, setValue`

Methods inherited from class net.sf.saxon.value.AtomicValue
`checkPermittedContents, convert, convert, display, effectiveBooleanValue, evaluateAsString, evaluateItem, getCardinality, getComponent, getImplementationMethod, getLength, getPrimitiveValue, getStringValueCS, getTypedValue, hasBuiltInType, iterate, process, toString`

Methods inherited from class net.sf.saxon.value.Value
`analyze, asItem, asValue, collapseWhitespace, convert, convertJavaObjectToXPath, getDependencies, getIterator, getParentExpression, getSpecialProperties, itemAt, iterateSubExpressions, makeQNameValue, normalizeWhitespace, promote, simplify, stringToNumber, trimWhitespace`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### ErrorValue

    public ErrorValue(ValidationException err)

Method Detail

### getException

    public ValidationException getException()