public class ValidationResp extends Object
| Constructor and Description |
|---|
ValidationResp(boolean success,
Exception cause) |
| Modifier and Type | Method and Description |
|---|---|
static ValidationResp |
fail(Exception exception) |
Exception |
getCause() |
boolean |
isSuccess() |
void |
setCause(Exception cause) |
void |
setSuccess(boolean success) |
static ValidationResp |
success() |
public ValidationResp(boolean success,
Exception cause)
public static ValidationResp success()
public static ValidationResp fail(Exception exception)
public boolean isSuccess()
public void setSuccess(boolean success)
public Exception getCause()
public void setCause(Exception cause)
Copyright © 2025. All rights reserved.