|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
System.SystemException
System.Collections.Generic.KeyNotFoundException
public class KeyNotFoundException
The exception that is thrown when the key specified for accessing an element in a collection does not match any key in the collection.
Constructor Summary | |
---|---|
KeyNotFoundException()
Initializes a new instance of the KeyNotFoundException class using default property values. |
|
KeyNotFoundException(java.lang.String message)
Initializes a new instance of the KeyNotFoundException class with the specified error message. |
|
KeyNotFoundException(java.lang.String message,
java.lang.RuntimeException innerException)
Initializes a new instance of the KeyNotFoundException class with the specified error message and a reference to the inner exception that is the cause of this exception. |
Method Summary |
---|
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 KeyNotFoundException()
public KeyNotFoundException(java.lang.String message)
message
- The message that describes the error.public KeyNotFoundException(java.lang.String message, java.lang.RuntimeException innerException)
message
- The error message that explains the reason for the exception.innerException
- The exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |