@Public public class NullKeyFieldException extends RuntimeException
null
.Constructor and Description |
---|
NullKeyFieldException()
Constructs an
NullKeyFieldException with null
as its error detail message. |
NullKeyFieldException(int fieldNumber)
Constructs an
NullKeyFieldException with a default message, referring to
given field number as the null key field. |
NullKeyFieldException(NullFieldException nfex)
Constructs an
NullKeyFieldException with a default message, referring to
the field number given in the NullFieldException . |
NullKeyFieldException(String message)
Constructs an
NullKeyFieldException 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 NullKeyFieldException()
NullKeyFieldException
with null
as its error detail message.public NullKeyFieldException(NullFieldException nfex)
NullKeyFieldException
with a default message, referring to
the field number given in the NullFieldException
.nfex
- The base exception.public NullKeyFieldException(String message)
NullKeyFieldException
with the specified detail message.message
- The detail message.public NullKeyFieldException(int fieldNumber)
NullKeyFieldException
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.Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.