@Public public class KeyFieldOutOfBoundsException extends RuntimeException
null
.Constructor and Description |
---|
KeyFieldOutOfBoundsException()
Constructs an
KeyFieldOutOfBoundsException with null as its error detail
message. |
KeyFieldOutOfBoundsException(int fieldNumber)
Constructs an
KeyFieldOutOfBoundsException with a default message, referring to given
field number as the null key field. |
KeyFieldOutOfBoundsException(int fieldNumber,
Throwable parent) |
KeyFieldOutOfBoundsException(String message)
Constructs an
KeyFieldOutOfBoundsException with the specified detail message. |
Modifier and Type | Method and Description |
---|---|
int |
getFieldNumber()
Gets the field number that was attempted to access.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public KeyFieldOutOfBoundsException()
KeyFieldOutOfBoundsException
with null
as its error detail
message.public KeyFieldOutOfBoundsException(String message)
KeyFieldOutOfBoundsException
with the specified detail message.message
- The detail message.public KeyFieldOutOfBoundsException(int fieldNumber)
KeyFieldOutOfBoundsException
with a default message, referring to given
field number as the null key field.fieldNumber
- The index of the field that was null, bit expected to hold a key.public KeyFieldOutOfBoundsException(int fieldNumber, Throwable parent)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.