public static class ExceptionControl.CatchBuilder extends Object
Catch}| Modifier and Type | Field and Description |
|---|---|
protected Seq<Class<? extends Throwable>> |
classesToCatch |
protected boolean |
promiscuously |
| Modifier | Constructor and Description |
|---|---|
protected |
ExceptionControl.CatchBuilder(Seq<Class<? extends Throwable>> classesToCatch) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPromiscuously() |
void |
setPromiscuously(boolean promiscuously) |
<R> ExceptionControl.Catch<R> |
withApply(Function1<Throwable,R> f)
Create a new Catch with the same isDefinedAt logic as this one, but
with the supplied apply method replacing the current one.
|
public boolean isPromiscuously()
public void setPromiscuously(boolean promiscuously)
public <R> ExceptionControl.Catch<R> withApply(Function1<Throwable,R> f)
Copyright © 2015. All rights reserved.