public class FieldIndexOutOfBoundsException extends Exception
Constructor and Description |
---|
FieldIndexOutOfBoundsException(String fieldName,
int[] arrayPos,
int dimension)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getDimension()
Returns which dimension (equals the index of arrayPos) that has been used
when the Exception has been thrown.
|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FieldIndexOutOfBoundsException(String fieldName, int[] arrayPos, int dimension)
fieldName
- The name of the field that has exceeded its bounds.arrayPos
- The indices of the field exceeding its bounds.dimension
- The arrayPos dimension that caused the exception
(equals the index of arrayPos used).public int getDimension()
public String getMessage()
getMessage
in class Throwable
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.