public static final class ExceptionInfo.Builder
extends java.lang.Object
exception info.| Constructor and Description |
|---|
Builder()
Constructor.
|
Builder(ExceptionInfo exceptionInfo)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ExceptionInfo |
build()
Builds the
exception info. |
ExceptionInfo.Builder |
className(java.lang.String className)
The name of the exception class.
|
ExceptionInfo.Builder |
description(java.lang.String description)
A human readable description of the exception.
|
ExceptionInfo.Builder |
message(java.lang.String message)
The exception message.
|
public Builder()
public Builder(ExceptionInfo exceptionInfo)
exceptionInfo - the expception info to initialize a new builder
instance.public ExceptionInfo.Builder className(java.lang.String className)
className - the name of the class.public ExceptionInfo.Builder message(java.lang.String message)
message - the message.public ExceptionInfo.Builder description(java.lang.String description)
description - the description.public ExceptionInfo build()
exception info.