public abstract static class ExceptionHandling.Builder<T extends ExceptionHandling.Builder<T>> extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ExceptionHandling |
build()
Create the exception handling object.
|
abstract T |
getThis()
Return this.
|
T |
setLogLevel(org.slf4j.event.Level logLevel)
Set the log entry level.
|
T |
setLogStackTrace(boolean logStackTrace)
Set if exception stack trace should be logged or not.
|
public abstract T getThis()
public T setLogLevel(org.slf4j.event.Level logLevel)
logLevel - The log entry level.public T setLogStackTrace(boolean logStackTrace)
logStackTrace - True to log the exception stack trace, false to log the exception message only.public ExceptionHandling build()
Copyright © 2014–2021 Nitor Creations. All rights reserved.