接口 DebuggableMixin
- 所有超级接口:
SelfReportingMixin
- 所有已知实现类:
EphemeralRegistry
,EventPoolService.EventPool
,RegistryServices.BroadcastingRegistry
,RegistryServices.PrivateStashedRegistry
,UXLabel
,WeakRegistry
A [minimal] mixin sort of interface to allow for easy use of throwing
exceptions using DebugService.
Example Usage
class Foo implements DebuggableMixin { public Foo() { THROW_NOW("NoImpl Constructor"); } }
- 作者:
- Jack Meng
-
方法概要
修饰符和类型方法说明default void
LOG
(DebugService.LogLevel level, String message) default void
default void
THROW_NOW_IF
(boolean condition, String message) 从接口继承的方法 pkg.exoad.poprock.core.debug.SelfReportingMixin
getCanonicallyNamedThis, getNamedThis
-
方法详细资料
-
THROW_NOW
- 参数:
message
- hint for the error message- 另请参阅:
-
THROW_NOW_IF
- 参数:
condition
- When to panic only if this boolean is truemessage
- hint for the error message- 另请参阅:
-
LOG
- 参数:
level
- LogLevelmessage
- Attached log message- 另请参阅:
-