ErrorHandlerFactory
public interface ParserErrorHandler
Modifier and Type | Method | Description |
---|---|---|
@NotNull Value |
handle(@NotNull Scope scope,
@Nullable Source source,
@NotNull DollarException e) |
|
@NotNull Value |
handle(@NotNull Scope scope,
@Nullable Source source,
@NotNull DollarAssertionException e) |
|
@NotNull Value |
handle(@NotNull Scope scope,
@Nullable Source source,
@NotNull Exception e) |
|
<T extends Exception> |
handleTopLevel(T t,
@NotNull String name,
@Nullable File file) |
@NotNull @NotNull Value handle(@NotNull @NotNull Scope scope, @Nullable @Nullable Source source, @NotNull @NotNull DollarAssertionException e)
@NotNull @NotNull Value handle(@NotNull @NotNull Scope scope, @Nullable @Nullable Source source, @NotNull @NotNull DollarException e)
@NotNull @NotNull Value handle(@NotNull @NotNull Scope scope, @Nullable @Nullable Source source, @NotNull @NotNull Exception e)
<T extends Exception> void handleTopLevel(@NotNull T t, @NotNull @NotNull String name, @Nullable @Nullable File file) throws RuntimeException
RuntimeException
Copyright © 2017. All rights reserved.