public class ModelValidationException extends RuntimeException
| Constructor and Description |
|---|
ModelValidationException(String message,
List<ResourceModelIssue> issues)
Creates new resource model validation exception with the list of validation issues and the message.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResourceModelIssue> |
getIssues()
Get validation issues.
|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ModelValidationException(String message, List<ResourceModelIssue> issues)
message - message for the exception. The final message returned by getMessage() will
contains the message and other information about exception.issues - validation issues.public List<ResourceModelIssue> getIssues()
public String getMessage()
getMessage in class ThrowableCopyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.