public class ErrorDispatcher extends Object implements ErrorListener
Constructor and Description |
---|
ErrorDispatcher() |
Modifier and Type | Method and Description |
---|---|
void |
onError(ErrorCode errorCode,
String description)
Dispatch error event.
|
void |
setListener(ErrorListener listener) |
public void setListener(ErrorListener listener)
public void onError(ErrorCode errorCode, String description)
onError
in interface ErrorListener
errorCode
- error codedescription
- error descriptionCopyright © 2012–2024 Onix Solutions. All rights reserved.