Class SubstitutionException

    • Constructor Detail

      • SubstitutionException

        public SubstitutionException​(String message,
                                     SubstitutionContext context)
        Creates a SubstitutionException with the given message.
        Parameters:
        message - error's description
        context - context with detailed info about the error
      • SubstitutionException

        public SubstitutionException​(String message,
                                     Throwable cause,
                                     SubstitutionContext context)
        Creates a SubstitutionException with the given message and parent cause.
        Parameters:
        message - error's description
        cause - error's parent cause
        context - context with detailed info about the error
    • Method Detail

      • getFailedKeys

        public List<String> getFailedKeys()
        Returns the key(s) that have caused this substitution to fail.
        Returns:
        the key(s) that have caused this substitution to fail.