Package com.relogiclabs.jschema.tree
Class ExceptionRegistry
Object
ExceptionRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
fail
(RuntimeException exception) int
getCount()
int
boolean
iterator()
void
setCutoffLimit
(int cutoffLimit) void
setThrowException
(boolean throwException) <T> T
tryExecute
(Supplier<T> function) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
ExceptionRegistry
public ExceptionRegistry(boolean throwException)
-
-
Method Details
-
fail
-
tryExecute
-
getCount
public int getCount() -
iterator
-
clear
public void clear() -
getExceptions
-
getTryBuffer
-
isThrowException
public boolean isThrowException() -
getCutoffLimit
public int getCutoffLimit() -
setThrowException
public void setThrowException(boolean throwException) -
setCutoffLimit
public void setCutoffLimit(int cutoffLimit)
-