Package org.apache.flink.types
Class KeyFieldOutOfBoundsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.flink.types.KeyFieldOutOfBoundsException
-
- All Implemented Interfaces:
Serializable
@Public public class KeyFieldOutOfBoundsException extends RuntimeException
An exception specifying that a required key field was not set in a record, i.e. wasnull.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyFieldOutOfBoundsException()Constructs anKeyFieldOutOfBoundsExceptionwithnullas its error detail message.KeyFieldOutOfBoundsException(int fieldNumber)Constructs anKeyFieldOutOfBoundsExceptionwith a default message, referring to given field number as the null key field.KeyFieldOutOfBoundsException(int fieldNumber, Throwable parent)KeyFieldOutOfBoundsException(String message)Constructs anKeyFieldOutOfBoundsExceptionwith the specified detail message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFieldNumber()Gets the field number that was attempted to access.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
KeyFieldOutOfBoundsException
public KeyFieldOutOfBoundsException()
Constructs anKeyFieldOutOfBoundsExceptionwithnullas its error detail message.
-
KeyFieldOutOfBoundsException
public KeyFieldOutOfBoundsException(String message)
Constructs anKeyFieldOutOfBoundsExceptionwith the specified detail message.- Parameters:
message- The detail message.
-
KeyFieldOutOfBoundsException
public KeyFieldOutOfBoundsException(int fieldNumber)
Constructs anKeyFieldOutOfBoundsExceptionwith a default message, referring to given field number as the null key field.- Parameters:
fieldNumber- The index of the field that was null, bit expected to hold a key.
-
KeyFieldOutOfBoundsException
public KeyFieldOutOfBoundsException(int fieldNumber, Throwable parent)
-
-