|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.utils.ExceptionDiscarder<T>
public abstract class ExceptionDiscarder<T>
Used for adapting APIs throwing exceptions to usecases where this is not desired.
Constructor Summary | |
---|---|
ExceptionDiscarder()
|
Method Summary | |
---|---|
T |
run()
|
protected abstract T |
task()
Specifies the task that should be computed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionDiscarder()
Method Detail |
---|
protected abstract T task() throws java.lang.Exception
java.lang.Exception
public T run()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |