org.eclipse.ocl.examples.xtext.console
Class OCLConsolePage.ExceptionValue

java.lang.Object
  extended by org.eclipse.ocl.examples.domain.values.impl.AbstractValue
      extended by org.eclipse.ocl.examples.domain.values.impl.AbstractUndefinedValue
          extended by org.eclipse.ocl.examples.domain.values.impl.AbstractUndefinedCollectionValue
              extended by org.eclipse.ocl.examples.domain.values.impl.InvalidValueImpl
                  extended by org.eclipse.ocl.examples.xtext.console.OCLConsolePage.ExceptionValue
All Implemented Interfaces:
java.lang.Comparable<NumericValue>, java.lang.Iterable<Value>, BagValue, BooleanValue, CollectionValue, ElementValue, IntegerValue, InvalidValue, NullValue, NumericValue, ObjectValue, OrderedSetValue, RealValue, SequenceValue, SetValue, StringValue, TypeValue, UniqueCollectionValue, UnlimitedValue, Value
Enclosing class:
OCLConsolePage

protected static class OCLConsolePage.ExceptionValue
extends InvalidValueImpl


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.ocl.examples.domain.values.BooleanValue
BooleanValue.Accumulator
 
Nested classes/interfaces inherited from interface org.eclipse.ocl.examples.domain.values.IntegerValue
IntegerValue.Accumulator
 
Field Summary
 
Fields inherited from class org.eclipse.ocl.examples.domain.values.impl.AbstractValue
valueFactory
 
Constructor Summary
protected OCLConsolePage.ExceptionValue(ValueFactory valueFactory, java.lang.String message, java.lang.Exception exception)
           
 
Method Summary
 java.lang.Exception getException()
           
 java.lang.String getMessage()
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.InvalidValueImpl
asBagValue, asBoolean, asBooleanValue, asCollectionValue, asDouble, asEcoreObject, asElement, asElementValue, asInteger, asIntegerValue, asNavigableObject, asObjectValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asStringValue, asTypeValue, asUniqueCollectionValue, asValidValue, equals, getType, hashCode, isInvalid, toIntegerValue, toIteratorValue, toRealValue
 
Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.AbstractUndefinedCollectionValue
append, asCollection, asList, at, count, createNew, excludes, excludesAll, excluding, first, flatten, flatten, getCollectionType, getKind, includes, includesAll, including, indexOf, insertAt, intersection, intSize, isEmpty, iterator, last, maxMin, minus, notEmpty, prepend, product, reverse, selectByKind, selectByType, size, sort, subOrderedSet, subSequence, sum, symmetricDifference, toSequenceValue, union
 
Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.AbstractUndefinedValue
abs, add, add, asFalse, asObject, asTrue, bigDecimalValue, bigIntegerValue, compareTo, div, divide, divide, doubleValue, floor, getElement, getInstanceType, getObject, isUndefined, max, max, min, min, mod, multiply, multiply, negate, round, signum, stringValue, subtract, subtract, toInvalidValue
 
Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.AbstractValue
getActualType, getValueFactory, isCollectionValue, isFalse, isIntegerValue, isNull, isRealValue, isTrue, isUnlimited, isUnlimitedNatural, oclToString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.NullValue
negate
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.IntegerValue
add, bigIntegerValue, div, divide, max, min, mod, multiply, subtract
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.RealValue
abs, add, divide, floor, max, min, multiply, round, signum, subtract
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.StringValue
stringValue
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.NumericValue
bigDecimalValue, doubleValue
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.OrderedSetValue
subOrderedSet
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.SequenceValue
append, at, first, indexOf, insertAt, last, prepend, reverse, subSequence
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.UniqueCollectionValue
minus, symmetricDifference
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.CollectionValue
asCollection, asList, count, excludes, excludesAll, excluding, flatten, flatten, getCollectionType, getKind, includes, includesAll, including, intersection, intSize, isEmpty, iterator, maxMin, notEmpty, product, selectByKind, selectByType, size, sort, sum, toSequenceValue, union
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.TypeValue
getInstanceType
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.ElementValue
getElement
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.ObjectValue
getObject
 

Constructor Detail

OCLConsolePage.ExceptionValue

protected OCLConsolePage.ExceptionValue(ValueFactory valueFactory,
                                        java.lang.String message,
                                        java.lang.Exception exception)
Method Detail

getException

public java.lang.Exception getException()
Specified by:
getException in interface InvalidValue
Overrides:
getException in class InvalidValueImpl

getMessage

public java.lang.String getMessage()

toString

public java.lang.String toString()
Overrides:
toString in class InvalidValueImpl