public abstract static class Report.Delegate extends Object implements RuntimeResource
Report
.
Application developers can inherit this class, and set the fully qualified name to the property
Report.K_DELEGATE_CLASS
to use the custom implementation for the Report API.RuntimeResource.DelegateRegisterer<D>
Constructor and Description |
---|
Delegate() |
Modifier and Type | Method and Description |
---|---|
abstract void |
report(Report.Level level,
String message)
Notifies a report.
|
void |
report(Report.Level level,
String message,
Throwable throwable)
Notifies a report.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cleanup, setup
public abstract void report(Report.Level level, String message) throws IOException
level
- report levelmessage
- report messageIOException
- if failed to notify this report by I/O errorpublic void report(Report.Level level, String message, Throwable throwable) throws IOException
level
- report levelmessage
- report messagethrowable
- optional exception info (nullable)IOException
- if failed to notify this report by I/O errorCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.