|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--java.lang.IndexOutOfBoundsException | +--org.joda.util.IndexOutOfBoundsJodaException
Exception thrown when an attempt was made to access a list or array with an index that was out of range. Details of the object are encapsulated in the exception.
Constructor Summary | |
IndexOutOfBoundsJodaException(java.lang.Object errSource,
int index)
Constructor |
|
IndexOutOfBoundsJodaException(java.lang.Object errSource,
int index,
java.lang.String baseMessage)
Constructor |
Method Summary | |
int |
getIndex()
Get the index which caused the exception |
java.lang.Object |
getSource()
Get the object that generated the exception |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IndexOutOfBoundsJodaException(java.lang.Object errSource, int index, java.lang.String baseMessage)
errSource
- the object that generated the exceptionindex
- the index that could not be accessedpublic IndexOutOfBoundsJodaException(java.lang.Object errSource, int index)
errSource
- the object that generated the exceptionindex
- the index that could not be accessedMethod Detail |
public java.lang.Object getSource()
public int getIndex()
|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |