@Public public class KeyFieldOutOfBoundsException extends RuntimeException
null
.构造器和说明 |
---|
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. |
限定符和类型 | 方法和说明 |
---|---|
int |
getFieldNumber()
Gets the field number that was attempted to access.
|
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–2022 The Apache Software Foundation. All rights reserved.