public class JSR303ViolationException extends AxonNonTransientException
Messagehas been refused due to a structural validation failure. Typically, resending the same message will result in the exact same exception.
Provides a set of JSR303
ConstraintViolations that provide details about the exact failure of the message.
|Constructor and Description|
Initializes an exception with the given
|Modifier and Type||Method and Description|
Convert the violations to a human readable format, sorted by class and property e.g.:
Returns the violations that were detected when this exception was thrown.
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
property ab in class my.some.Klass may not be null property cd in class my.some.OtherClass length must be between 0 and 3 property cd in class my.some.OtherClass must match "ab.*" property notNull in class my.some.TheClass may not be null
violations- set of violations that were detected when the exception was thrown
Copyright © 2010–2022. All rights reserved.