Package com.github.jelmerk.knn
Class IndexException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.jelmerk.knn.IndexException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SizeLimitExceededException
,UncategorizedIndexException
Base class for exceptions thrown by
Index
implementations.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an IndexExceptionIndexException
(String message) Constructs a IndexException with the specified detail message.IndexException
(String message, Throwable cause) Constructs a IndexException with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IndexException
public IndexException()Constructs an IndexException -
IndexException
Constructs a IndexException with the specified detail message.- Parameters:
message
- the detail message.
-
IndexException
Constructs a IndexException with the specified detail message and cause.- Parameters:
message
- the detail message.cause
- the cause
-