au.org.ala.names.search
Class SearchResultException
java.lang.Object
java.lang.Throwable
java.lang.Exception
au.org.ala.names.search.SearchResultException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ExcludedNameException, HomonymException, MisappliedException, ParentSynonymChildException, SPPException
public class SearchResultException
- extends java.lang.Exception
The generic search result exception that can be thrown during a search. This exception
will be used to wrap any exception that occurs that do not fall into the other categories.
- Author:
- Natasha
- See Also:
HomonymException,
Serialized Form
| 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 |
results
protected java.util.List<NameSearchResult> results
errorType
protected ErrorType errorType
SearchResultException
public SearchResultException(java.lang.String msg)
SearchResultException
public SearchResultException(java.lang.String msg,
java.util.List<NameSearchResult> results)
getResults
public java.util.List<NameSearchResult> getResults()
getErrorType
public ErrorType getErrorType()
Copyright © 2014. All Rights Reserved.