public abstract class SearchException extends NlsRuntimeException
SearchEngine
and related objects. The SearchEngine implementation is suggested to
be tolerant (e.g. accept malformed queries). Anyways in some situations (e.g. IOException)
it can be necessary to throw an exception. Therefore this is the suggested exception type to be used.| Modifier and Type | Field and Description |
|---|---|
protected static String |
KEY_ENTRY
Key for the
argument "entry". |
private static long |
serialVersionUID
UID for serialization.
|
KEY_ANNOTATION, KEY_ARGUMENT, KEY_CAPACITY, KEY_CONTAINER, KEY_DEFAULT, KEY_DIRECTORY, KEY_ERROR, KEY_EXISTING, KEY_EXPECTED, KEY_FILE, KEY_FUNCTION, KEY_ID, KEY_KEY, KEY_LOCATION, KEY_MAX, KEY_MIN, KEY_MODE, KEY_NAME, KEY_OBJECT, KEY_OPERAND, KEY_OPERATION, KEY_OPTION, KEY_PATH, KEY_PROPERTY, KEY_QUERY, KEY_RESOURCE, KEY_SIZE, KEY_SOURCE, KEY_TARGET_TYPE, KEY_TITLE, KEY_TYPE, KEY_URI, KEY_USER, KEY_VALUE| Constructor and Description |
|---|
SearchException(NlsMessage message)
The constructor.
|
SearchException(String internationalizedMessage)
The constructor.
|
SearchException(Throwable nested,
NlsMessage message)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected static NlsBundleSearchRoot |
getBundle() |
createBundle, createCopy, createCopyViaClone, createUuid, getCode, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getMessage, getNlsMessage, getUuid, isForUser, isTechnical, printStackTrace, toNlsMessage, toString, toString, toStringaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCause, getStackTraceprivate static final long serialVersionUID
protected static final String KEY_ENTRY
argument "entry".public SearchException(String internationalizedMessage)
internationalizedMessage - is a short description of the problem. It is used for
internationalization and
should be in English language.public SearchException(NlsMessage message)
message - the message describing the problem briefly.public SearchException(Throwable nested, NlsMessage message)
protected static NlsBundleSearchRoot getBundle()
NlsBundleSearchRoot.Copyright © 2001–2016 mmm-Team. All rights reserved.