public class SimpleErrorReporter extends Object implements ErrorReporter, Serializable
Constructor and Description |
---|
SimpleErrorReporter()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
handleErrorMessage(String errorCode,
String errDetail,
Object errCtx,
CharSequence errorMessage)
Final handling of the resulting errorMessage build by
onError(String, String, Object) onError}. |
void |
onError(String errorCode,
String errDetail,
Object errCtx)
Handler for reporting an error.
|
public SimpleErrorReporter()
public void onError(String errorCode, String errDetail, Object errCtx)
ErrorReporter
onError
in interface ErrorReporter
errorCode
- one of the ErrorReporter's constantserrDetail
- human readable descriptionerrCtx
- typically an SCXML element which caused an error,
may be accompanied by additional informationErrorReporter.onError(String, String, Object)
protected void handleErrorMessage(String errorCode, String errDetail, Object errCtx, CharSequence errorMessage)
onError(String, String, Object)
onError}.
The default implementation write the errorMessage as a warning to the log.
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.