Class ValidatedResultException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- software.amazon.smithy.model.validation.ValidatedResultException
-
- All Implemented Interfaces:
java.io.Serializable
public class ValidatedResultException extends java.lang.RuntimeException
Thrown whenValidatedResult.validate()
is called and the result contains ERROR events.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidatedResultException(java.util.List<ValidationEvent> events)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ValidationEvent>
getValidationEvents()
-
-
-
Constructor Detail
-
ValidatedResultException
public ValidatedResultException(java.util.List<ValidationEvent> events)
-
-
Method Detail
-
getValidationEvents
public java.util.List<ValidationEvent> getValidationEvents()
-
-