public class ScriptOutputTypeException extends DRException
Constructor and 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.
|
Modifier and Type | Method and 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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ScriptOutputTypeException(String fieldName, TokenType fieldType, ClassCastException cause)
fieldName
- Name of the output fieldfieldType
- Type of the output fieldcause
- ClassCastException
which caused this exceptionCopyright © 2020 Actian Corporation. All rights reserved.