org.openanzo.glitter.exception
Class IncompatibleTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.openanzo.glitter.exception.ExpressionEvaluationException
                  extended by org.openanzo.glitter.exception.IncompatibleTypeException
All Implemented Interfaces:
java.io.Serializable

public class IncompatibleTypeException
extends ExpressionEvaluationException

Indicates that a function or operator was supplied with an argument of a type that it does not handle.

Author:
lee
See Also:
Serialized Form

Constructor Summary
IncompatibleTypeException(Expression value, java.lang.String required)
           
IncompatibleTypeException(java.lang.String value, java.lang.String required)
           
IncompatibleTypeException(TriplePatternComponent value, java.lang.String required)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IncompatibleTypeException

public IncompatibleTypeException(java.lang.String value,
                                 java.lang.String required)
Parameters:
value - The supplied value
required - The expected type

IncompatibleTypeException

public IncompatibleTypeException(TriplePatternComponent value,
                                 java.lang.String required)
Parameters:
value - The supplied value
required - The expected type

IncompatibleTypeException

public IncompatibleTypeException(Expression value,
                                 java.lang.String required)
Parameters:
value - The supplied value
required - The expected type


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.