Interface PasswordEnrollmentError.Builder
- Enclosing interface:
- PasswordEnrollmentError
public static interface PasswordEnrollmentError.Builder
A builder for
PasswordEnrollmentError.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aPasswordEnrollmentError.Sets theExceptionthat caused the error.description(String description) Sets the description of the error.
-
Method Details
-
description
Sets the description of the error.Providing the description is required.
- Parameters:
description- the error description- Returns:
- a builder
-
cause
Sets theExceptionthat caused the error.- Parameters:
cause- the cause of the error- Returns:
- a builder
-
build
Builds aPasswordEnrollmentError.- Returns:
- a
PasswordEnrollmentError
-