org.hibernate.search.exception.impl
Class SingleErrorContext
java.lang.Object
org.hibernate.search.exception.impl.SingleErrorContext
- All Implemented Interfaces:
- ErrorContext
public class SingleErrorContext
- extends Object
- implements ErrorContext
Simplest implementation of an ErrorContext, use it
to wrap single exceptions in the backend which are hard to relate
to the workqueue as a whole.
- Since:
- 3.3
- Author:
- Sanne Grinovero
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleErrorContext
public SingleErrorContext(Throwable throwable)
getFailingOperations
public List<LuceneWork> getFailingOperations()
- Specified by:
getFailingOperations in interface ErrorContext
getOperationAtFault
public LuceneWork getOperationAtFault()
- Specified by:
getOperationAtFault in interface ErrorContext
getThrowable
public Throwable getThrowable()
- Specified by:
getThrowable in interface ErrorContext
hasErrors
public boolean hasErrors()
- Specified by:
hasErrors in interface ErrorContext
Copyright © 2006-2010 Red Hat Middleware, LLC. All Rights Reserved