# Verwendungen von Klasse
org.apache.torque.generator.GeneratorException

Packages, die GeneratorException verwenden
Package
Beschreibung
org.apache.torque.generator.configuration
This package contains the classes for configuring the Torque generator.
org.apache.torque.generator.control
This package implements the torque generator Controller .
org.apache.torque.generator.control.action
This package defines and implements mergepoint actions.
org.apache.torque.generator.control.existingtargetstrategy
This package defines and implements strategies for dealing with the situation that a target file already exists.
org.apache.torque.generator.merge
This package provides access to text file merge implementations.
org.apache.torque.generator.outlet
This package defines torque generator outlets which produce output snippets from the source.
org.apache.torque.generator.outlet.copy
This package defines and implements copy outlets.
org.apache.torque.generator.outlet.java
This package defines java outlets and provides some implementations.
org.apache.torque.generator.source
This package contains the handling of source files.
org.apache.torque.generator.source.transform
This package contains the definition of source transformers and some implementations.
org.apache.torque.generator.source.transform.model
This package provides the ability to create a typed source model.
org.apache.torque.generator.template.groovy
This package contains the handling of groovy outlets in the Torque generator.
org.apache.torque.generator.template.velocity
This package contains the handling of velocity outlets in the Torque generator.

- ## Verwendungen von GeneratorException in org.apache.torque.generator.configuration

  Unterklassen von GeneratorException in org.apache.torque.generator.configuration
  Modifizierer und Typ
  Klasse
  Beschreibung
  `class`
  `ConfigurationException`
  This exception is thrown if the Torque generator cannot access its configuration or if an error occurs accessing the configuration.

- ## Verwendungen von GeneratorException in org.apache.torque.generator.control

  Unterklassen von GeneratorException in org.apache.torque.generator.control
  Modifizierer und Typ
  Klasse
  Beschreibung
  `class`
  `ControllerException`
  This Exception is thrown when an error occurs within the Controller of the Torque Generator.
  Methoden in org.apache.torque.generator.control, die GeneratorException auslösen
  Modifizierer und Typ
  Methode
  Beschreibung
  `protected void`
  Controller.`createOutputFilename(Output output, ControllerState controllerState)`
  Creates the output file name and sets it in the output.
  `protected void`
  Controller.`processGenerationUnit(ControllerState controllerState, UnitConfiguration unitConfiguration)`
  Processes a unit of generation.
  `void`
  Controller.`run(List<UnitDescriptor> unitDescriptors)`
  Executes the controller action.

- ## Verwendungen von GeneratorException in org.apache.torque.generator.control.action

  Methoden in org.apache.torque.generator.control.action, die GeneratorException auslösen
  Modifizierer und Typ
  Methode
  Beschreibung
  `OutletResult`
  ApplyAction.`execute(ControllerState controllerState)`
  Applies an outlet to the matching element.
  `OutletResult`
  MergepointAction.`execute(ControllerState controllerState)`
  Executes the action.
  `OutletResult`
  OptionAction.`execute(ControllerState controllerState)`
  Returns the value of the configured option.
  `OutletResult`
  OutputAction.`execute(ControllerState controllerState)`
  Returns the value. ${...}
  `OutletResult`
  SourceElementAttributeAction.`execute(ControllerState controllerState)`
  Returns the value of the configured attribute of the configured source element. ${...}
  `OutletResult`
  TraverseAllAction.`execute(ControllerState controllerState)`
  Traverses all matching elements, and applies an outlet to each matching element.

- ## Verwendungen von GeneratorException in org.apache.torque.generator.control.existingtargetstrategy

  Methoden in org.apache.torque.generator.control.existingtargetstrategy, die GeneratorException auslösen
  Modifizierer und Typ
  Methode
  Beschreibung
  `void`
  AppendToTargetFileStrategy.`afterGeneration(String outputDirKey, String outputPath, Charset charSet, OutletResult generationResult, UnitConfiguration unitConfiguration)`
  Processes the results of the generation.
  `void`
  ExistingTargetStrategy.`afterGeneration(String outputDirKey, String outputPath, Charset charSet, OutletResult generationResult, UnitConfiguration unitConfiguration)`
  Processes the results of the generation.
  `void`
  MergeTargetFileStrategy.`afterGeneration(String outputDirKey, String outputPath, Charset charSet, OutletResult generationResult, UnitConfiguration unitConfiguration)`
  Processes the results of the generation.
  `void`
  ReplaceTargetFileStrategy.`afterGeneration(String outputDirKey, String outputPath, Charset charSet, OutletResult generationResult, UnitConfiguration unitConfiguration)`
  Processes the results of the generation.
  `boolean`
  ExistingTargetStrategy.`beforeGeneration(String outputDirKey, String outputPath, Charset charSet, UnitConfiguration unitConfiguration)`
  Will be called before the generation is started and decides whether the generation process for this file should proceed.

- ## Verwendungen von GeneratorException in org.apache.torque.generator.merge

  Methoden in org.apache.torque.generator.merge, die GeneratorException auslösen
  Modifizierer und Typ
  Methode
  Beschreibung
  `String`
  ThreeWayMerger.`merge(String base, String generated, String edited, Charset charSet)`
  Performs a three-way merge.

- ## Verwendungen von GeneratorException in org.apache.torque.generator.outlet

  Methoden in org.apache.torque.generator.outlet, die GeneratorException auslösen
  Modifizierer und Typ
  Methode
  Beschreibung
  `void`
  DebuggingOutletWrapper.`afterExecute(ControllerState controllerState)`
  Calls the afterExecute method in the delegate.
  `void`
  Outlet.`afterExecute(ControllerState controllerState)`
  Adjusts the state of the Controller after generation.
  `void`
  DebuggingOutletWrapper.`beforeExecute(ControllerState controllerState)`
  Calls the beforeExecute method in the delegate.
  `void`
  Outlet.`beforeExecute(ControllerState controllerState)`
  Adjusts the state of the Controller before generation.
  `void`
  OutletImpl.`beforeExecute(ControllerState controllerState)`
  `static OutletResult`
  OutletResult.`concatenate(Iterable<OutletResult> input)`
  Concatenates a list of OutletResults.
  `static OutletResult`
  OutletResult.`concatenate(OutletResult... input)`
  Concatenates an array of OutletResults.
  `OutletResult`
  DebuggingOutletWrapper.`execute(ControllerState controllerState)`
  Executes the delegate generation and adds debugging output before and after the generated content, if the result is a String result.
  `OutletResult`
  Outlet.`execute(ControllerState controllerState)`
  Generates the output for this template into the Generated object.
  `abstract OutletResult`
  OutletImpl.`execute(ControllerState controllerState)`
  `String`
  OutletImpl.`mergepoint(String mergepointName, ControllerState controllerState)`
  Processes the mergepoint with the given name.

- ## Verwendungen von GeneratorException in org.apache.torque.generator.outlet.copy

  Methoden in org.apache.torque.generator.outlet.copy, die GeneratorException auslösen
  Modifizierer und Typ
  Methode
  Beschreibung
  `OutletResult`
  CopyOutlet.`execute(ControllerState controllerState)`
  Executes the generation process; the result is returned.

- ## Verwendungen von GeneratorException in org.apache.torque.generator.outlet.java

  Methoden in org.apache.torque.generator.outlet.java, die GeneratorException auslösen
  Modifizierer und Typ
  Methode
  Beschreibung
  `OutletResult`
  CamelbackOutlet.`execute(ControllerState controllerState)`
  Processes the input according to the camelback rules.
  `OutletResult`
  ConstantNameOutlet.`execute(ControllerState controllerState)`
  Processes the input according to the camelback rules.
  `OutletResult`
  JavadocOutlet.`execute(ControllerState controllerState)`
  `OutletResult`
  JavaFilenameOutlet.`execute(ControllerState controllerState)`
  `OutletResult`
  ModifySourcenameOutlet.`execute(ControllerState controllerState)`
  `OutletResult`
  NewlineOutlet.`execute(ControllerState controllerState)`
  `OutletResult`
  OptionOutlet.`execute(ControllerState controllerState)`
  `OutletResult`
  PackageToPathOutlet.`execute(ControllerState controllerState)`
  Reads the input and replaces all dots by slashes.
  `OutletResult`
  XmlOutlet.`execute(ControllerState controllerState)`
  `static String`
  OutletUtils.`getFromDifferentPlaces(String presetValue, String optionName, String variableName, String sourceElementName, String sourceElementAttribute, ControllerState controllerState, Class<?> clazz, String expectedFieldNames)`
  Retrieve a value from either a preset value, an option, a variable, or a source element attribute.
  `protected String`
  StringInputOutlet.`getInput(ControllerState controllerState)`
  Retrieves the input from the different possibilities nputValue, inputOption, inputVariable, or inputSourceElement.
  `static String`
  OutletUtils.`getOption(String optionName, ControllerState controllerState, Class<?> clazz)`
  Reads an option with a given name.
  `static String`
  OutletUtils.`getSourceElementAttribute(String elementName, String attributeName, ControllerState controllerState, Class<?> clazz)`
  Retrieves the value of a source element attribute.

- ## Verwendungen von GeneratorException in org.apache.torque.generator.source

  Unterklassen von GeneratorException in org.apache.torque.generator.source
  Modifizierer und Typ
  Klasse
  Beschreibung
  `class`
  `SourceException`
  This exception denotes that the source cannot be read.
  Methoden in org.apache.torque.generator.source, die GeneratorException auslösen
  Modifizierer und Typ
  Methode
  Beschreibung
  `static SourceElement`
  SourcePath.`getElement(SourceElement sourceElement, String path, boolean acceptEmpty)`
  Gets a single source element which can be reached from the start element by a given path.
  `static Object`
  SourcePath.`getObject(SourceElement root, String pathToBase, SourceElement sourceElement, String path, boolean acceptEmpty)`
  Gets a single source element which can be reached from the start element by a given path.
  `static String`
  SourcePath.`getPathAsString(SourceElement sourceElement)`
  Returns the path from the root element to the source element.

- ## Verwendungen von GeneratorException in org.apache.torque.generator.source.transform

  Unterklassen von GeneratorException in org.apache.torque.generator.source.transform
  Modifizierer und Typ
  Klasse
  Beschreibung
  `class`
  `SourceTransformerException`
  This exception is the superclass of all Exceptions thrown by SourceTransformers.

- ## Verwendungen von GeneratorException in org.apache.torque.generator.source.transform.model

  Unterklassen von GeneratorException in org.apache.torque.generator.source.transform.model
  Modifizierer und Typ
  Klasse
  Beschreibung
  `class`
  `NoSuchPropertyException`
  Indicates that an attempt was made to access a property which does not exist.
  `class`
  `PropertyNotReadableException`
  Indicates that an attempt was made to read a property which is not readable.
  `class`
  `PropertyNotWriteableException`
  Indicates that an attempt was made to write a property which is not writeable.

- ## Verwendungen von GeneratorException in org.apache.torque.generator.template.groovy

  Methoden in org.apache.torque.generator.template.groovy, die GeneratorException auslösen
  Modifizierer und Typ
  Methode
  Beschreibung
  `OutletResult`
  GroovyOutlet.`execute(ControllerState controllerState)`
  Executes the generation process; the result is returned.
  `protected abstract String`
  GroovyOutlet.`executeGroovy(Map<String,Object> binding, ControllerState controllerState)`
  Executes the Groovy script or template and retuns the reult.
  `protected String`
  GroovyScriptOutlet.`executeGroovy(Map<String,Object> binding, ControllerState controllerState)`
  `protected String`
  GroovyTemplateOutlet.`executeGroovy(Map<String,Object> binding, ControllerState controllerState)`
  `String`
  TorqueGenGroovy.`mergepoint(String mergepointName)`
  Processes the mergepoint with the given name.

- ## Verwendungen von GeneratorException in org.apache.torque.generator.template.velocity

  Methoden in org.apache.torque.generator.template.velocity, die GeneratorException auslösen
  Modifizierer und Typ
  Methode
  Beschreibung
  `OutletResult`
  VelocityOutlet.`execute(ControllerState controllerState)`
  Executes the generation process; the result is returned.
  `String`
  TorqueGenVelocity.`mergepoint(String mergepointName)`
  Processes the mergepoint with the given name.