@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public static @interface Loggable.Quiet
Loggable
if/when
being thrown out of an annotated method.
Sometimes exceptions are used as flow control instruments (although
this may be considered as a bad practice in most casts). In such
situations we don't want to flood log console with error messages. One
of the options is to use Loggable.ignore()
attribute to list
all exception types that should be ignored. However, this
Loggable.Quiet
annotation is more convenient when we want to
ignore one specific exception type in all situations.
Copyright © 2012–2017 jcabi.com. All rights reserved.