Package com.appiancorp.exceptions
Class AppianError.Builder
java.lang.Object
com.appiancorp.exceptions.AppianError.Builder
- Enclosing class:
- AppianError
A builder to create instances of
AppianError
. For errors based on an
ErrorCode
,
ValidationItem
,
AppianException
, etc, instead
of calling this builder, use AppianErrorBuilder
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setCause
(AppianError cause) setDetails
(String details) setOriginalMessageWithErrorCode
(String originalMessageWithErrorCode)
-
Constructor Details
-
Builder
-
Builder
-
-
Method Details
-
setTitle
-
setDetails
-
setCause
-
setData
-
setOriginalMessageWithErrorCode
-
build
-