Class RelationUtils


  • public class RelationUtils
    extends Object
    Since:
    5.9
    • Constructor Detail

      • RelationUtils

        public RelationUtils()
    • Method Detail

      • extractError

        public static String extractError​(ValidationResult validationResult,
                                          String defaultMessage)
        Extracts all errors from the ValidationResult as a single String. Is used to form appropriate exception message when validation fails.
        Parameters:
        validationResult -
        defaultMessage -
        Returns:
        extracted error messages, separated with new line separator (\n)