Class FieldValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aquima.interactions.foundation.exception.AppException
-
- com.aquima.interactions.communication.exception.FieldValidationException
-
- All Implemented Interfaces:
Serializable
public class FieldValidationException extends AppException
Exception that is thrown when field(s) did not validate.- Since:
- 9.0
- Author:
- Jon van Leuven
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FieldValidationException​(List<IMultilingualText> validationMessages)
Construct a FieldValidationException with a list of messages.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMultilingualText[]
getValidationMessages()
This method return an array of validation messages.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FieldValidationException
public FieldValidationException​(List<IMultilingualText> validationMessages)
Construct a FieldValidationException with a list of messages.- Parameters:
validationMessages
- The list of IMultilingualText messages, may not be null.
-
-
Method Detail
-
getValidationMessages
public IMultilingualText[] getValidationMessages()
This method return an array of validation messages.- Returns:
- The validation message, never null.
-
-