UndefinedVariableException (install4j API)
Description: declaration: package: com.install4j.api.beans, class: UndefinedVariableException

Package com.install4j.api.beans

# 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:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UndefinedVariableException(String variableName)`
  Will be called by the framework with the offending variable name as the message.

- ## Method Summary

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## 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