## net.sf.saxon.value
Class ValidationErrorValue

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

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

public class ValidationErrorValue
extends ObjectValue

A ValidationErrorValue is a pseudo-value representing the result of a validation failure. It is used by methods that can either return a value or an error. The class is also used delay reporting of errors in expressions that have been evaluated early.

See Also:
  Serialized Form

Field Summary

Fields inherited from class net.sf.saxon.value.Value
`EMPTY_CLASS_ARRAY`

Fields inherited from interface net.sf.saxon.om.ValueRepresentation
`EMPTY_VALUE_ARRAY`

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

Constructor Summary
`ValidationErrorValue(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, schemaEquals, toString`

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

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

Constructor Detail

### ValidationErrorValue

    public ValidationErrorValue(ValidationException err)

Method Detail

### getException

    public ValidationException getException()