Class UndefinedVariableException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.install4j.api.beans.UndefinedVariableException
All Implemented Interfaces:
Serializable

public class UndefinedVariableException extends RuntimeException
Exception that is thrown by the replaceVariables(...) methods in AbstractBean if a variable cannot be found the VariableErrorHandling for the corresponding variable type is VariableErrorHandling.EXCEPTION.
See Also:
  • Constructor Details

    • UndefinedVariableException

      public UndefinedVariableException(String variableName)
      Will be called by the framework with the offending variable name as the message.
      Parameters:
      variableName - the name of the variable that cannot be found