Package com.igormaznitsa.jbbp.exceptions
Class JBBPFinderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.igormaznitsa.jbbp.exceptions.JBBPException
com.igormaznitsa.jbbp.exceptions.JBBPFinderException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JBBPTooManyFieldsFoundException
The Exception can be thrown during search field operations,
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJBBPFinderException(String message, String nameOrPath, Class<? extends JBBPAbstractField> fieldType) The Constructor. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends JBBPAbstractField> Get the field type used for search.Get the name or the path used for search.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JBBPFinderException
public JBBPFinderException(String message, String nameOrPath, Class<? extends JBBPAbstractField> fieldType) The Constructor.- Parameters:
message- the exception messagenameOrPath- the name of the path for used for search process, it can be nullfieldType- the field type used for the search process, it can be null
-
-
Method Details
-
getNameOrPath
Get the name or the path used for search.- Returns:
- the name or the path used for search, it can be null
-
getFieldType
Get the field type used for search.- Returns:
- the field type used for search, it can be null
-