Class SubstitutionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.forgerock.config.resolvers.SubstitutionException
All Implemented Interfaces:
Serializable

public class SubstitutionException extends Exception
Exception thrown during substitution process.
See Also:
  • Field Details

  • Constructor Details

    • 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 Details

    • 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.