public class ErrorManager extends Object
UnableToCompleteException
. We do this instead of throwing
immediately so that we can find more than one error per compilation cycle.Constructor and Description |
---|
ErrorManager(TreeLogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
checkForError() |
void |
logDoubleBind(Key<?> key,
Binding binding1,
GinjectorBindings ginjector1,
Binding binding2,
GinjectorBindings ginjector2) |
void |
logError(String message,
Object... args) |
void |
logError(String message,
Throwable t,
Object... args) |
@Inject public ErrorManager(TreeLogger logger)
public void logDoubleBind(Key<?> key, Binding binding1, GinjectorBindings ginjector1, Binding binding2, GinjectorBindings ginjector2)
public void checkForError() throws UnableToCompleteException
UnableToCompleteException
Copyright © 2008–2018. All rights reserved.