Module datarush.library
Class ScriptOutputTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.pervasive.datarush.exceptions.DRException
-
- com.pervasive.datarush.operators.scripting.ScriptOutputTypeException
-
- All Implemented Interfaces:
Serializable
public class ScriptOutputTypeException extends DRException
Exception that indicates a script attempted to assign a value of the wrong type to an output field.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScriptOutputTypeException(String fieldName, TokenType fieldType, ClassCastException cause)
Constructs an exception indicating that a script attempted to assign a value of the wrong type to the specified output field.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFieldName()
Retrieves the field to which a value of the wrong type was assigned.TokenType
getFieldType()
Retrieves the type of the field to which a value of the wrong type was assigned.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ScriptOutputTypeException
public ScriptOutputTypeException(String fieldName, TokenType fieldType, ClassCastException cause)
Constructs an exception indicating that a script attempted to assign a value of the wrong type to the specified output field.- Parameters:
fieldName
- Name of the output fieldfieldType
- Type of the output fieldcause
-ClassCastException
which caused this exception
-
-