public interface ErrorHandler
| Modifier and Type | Method and Description |
|---|---|
void |
onError(ComponentInstance instance,
java.lang.String message,
java.lang.Throwable error)
Method invokes when an error occurred.
|
void |
onWarning(ComponentInstance instance,
java.lang.String message,
java.lang.Throwable error)
Method invokes when a warning occurred.
|
void onError(ComponentInstance instance, java.lang.String message, java.lang.Throwable error)
instance - the instance (can be null)message - the error messageerror - the error itself (can be null)void onWarning(ComponentInstance instance, java.lang.String message, java.lang.Throwable error)
instance - the instance (can be null)message - the error messageerror - the error itself (can be null)Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.