Uses of Class
org.apache.torque.generator.GeneratorException
-
Packages that use GeneratorException Package Description 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. -
-
Uses of GeneratorException in org.apache.torque.generator.configuration
Subclasses of GeneratorException in org.apache.torque.generator.configuration Modifier and Type Class Description classConfigurationExceptionThis exception is thrown if the Torque generator cannot access its configuration or if an error occurs accessing the configuration. -
Uses of GeneratorException in org.apache.torque.generator.control
Subclasses of GeneratorException in org.apache.torque.generator.control Modifier and Type Class Description classControllerExceptionThis Exception is thrown when an error occurs within the Controller of the Torque Generator.Methods in org.apache.torque.generator.control that throw GeneratorException Modifier and Type Method Description protected voidController. createOutputFilename(Output output, ControllerState controllerState)Creates the output file name and sets it in the output.protected voidController. processGenerationUnit(ControllerState controllerState, UnitConfiguration unitConfiguration)Processes a unit of generation.voidController. run(List<UnitDescriptor> unitDescriptors)Executes the controller action. -
Uses of GeneratorException in org.apache.torque.generator.control.action
Methods in org.apache.torque.generator.control.action that throw GeneratorException Modifier and Type Method Description OutletResultApplyAction. execute(ControllerState controllerState)Applies an outlet to the matching element.OutletResultMergepointAction. execute(ControllerState controllerState)Executes the action.OutletResultOptionAction. execute(ControllerState controllerState)Returns the value of the configured option.OutletResultOutputAction. execute(ControllerState controllerState)Returns the value. ${...}OutletResultSourceElementAttributeAction. execute(ControllerState controllerState)Returns the value of the configured attribute of the configured source element. ${...}OutletResultTraverseAllAction. execute(ControllerState controllerState)Traverses all matching elements, and applies an outlet to each matching element. -
Uses of GeneratorException in org.apache.torque.generator.control.existingtargetstrategy
Methods in org.apache.torque.generator.control.existingtargetstrategy that throw GeneratorException Modifier and Type Method Description voidAppendToTargetFileStrategy. afterGeneration(String outputDirKey, String outputPath, String encoding, OutletResult generationResult, UnitConfiguration unitConfiguration)Processes the results of the generation.voidExistingTargetStrategy. afterGeneration(String outputDirKey, String outputPath, String encoding, OutletResult generationResult, UnitConfiguration unitConfiguration)Processes the results of the generation.voidMergeTargetFileStrategy. afterGeneration(String outputDirKey, String outputPath, String encoding, OutletResult generationResult, UnitConfiguration unitConfiguration)Processes the results of the generation.voidReplaceTargetFileStrategy. afterGeneration(String outputDirKey, String outputPath, String encoding, OutletResult generationResult, UnitConfiguration unitConfiguration)Processes the results of the generation.booleanExistingTargetStrategy. beforeGeneration(String outputDirKey, String outputPath, String encoding, UnitConfiguration unitConfiguration)Will be called before the generation is started and decides whether the generation process for this file should proceed. -
Uses of GeneratorException in org.apache.torque.generator.merge
Methods in org.apache.torque.generator.merge that throw GeneratorException Modifier and Type Method Description StringThreeWayMerger. merge(String base, String generated, String edited, String charsetName)Performs a three-way merge. -
Uses of GeneratorException in org.apache.torque.generator.outlet
Methods in org.apache.torque.generator.outlet that throw GeneratorException Modifier and Type Method Description voidDebuggingOutletWrapper. afterExecute(ControllerState controllerState)Calls the afterExecute method in the delegate.voidOutlet. afterExecute(ControllerState controllerState)Adjusts the state of the Controller after generation.voidDebuggingOutletWrapper. beforeExecute(ControllerState controllerState)Calls the beforeExecute method in the delegate.voidOutlet. beforeExecute(ControllerState controllerState)Adjusts the state of the Controller before generation.voidOutletImpl. beforeExecute(ControllerState controllerState)static OutletResultOutletResult. concatenate(Iterable<OutletResult> input)Concatenates a list of OutletResults.static OutletResultOutletResult. concatenate(OutletResult... input)Concatenates an array of OutletResults.OutletResultDebuggingOutletWrapper. execute(ControllerState controllerState)Executes the delegate generation and adds debugging output before and after the generated content, if the result is a String result.OutletResultOutlet. execute(ControllerState controllerState)Generates the output for this template into the Generated object.abstract OutletResultOutletImpl. execute(ControllerState controllerState)StringOutletImpl. mergepoint(String mergepointName, ControllerState controllerState)Processes the mergepoint with the given name. -
Uses of GeneratorException in org.apache.torque.generator.outlet.copy
Methods in org.apache.torque.generator.outlet.copy that throw GeneratorException Modifier and Type Method Description OutletResultCopyOutlet. execute(ControllerState controllerState)Executes the generation process; the result is returned. -
Uses of GeneratorException in org.apache.torque.generator.outlet.java
Methods in org.apache.torque.generator.outlet.java that throw GeneratorException Modifier and Type Method Description OutletResultCamelbackOutlet. execute(ControllerState controllerState)Processes the input according to the camelback rules.OutletResultConstantNameOutlet. execute(ControllerState controllerState)Processes the input according to the camelback rules.OutletResultJavadocOutlet. execute(ControllerState controllerState)OutletResultJavaFilenameOutlet. execute(ControllerState controllerState)OutletResultModifySourcenameOutlet. execute(ControllerState controllerState)OutletResultNewlineOutlet. execute(ControllerState controllerState)OutletResultOptionOutlet. execute(ControllerState controllerState)OutletResultPackageToPathOutlet. execute(ControllerState controllerState)Reads the input and replaces all dots by slashes.OutletResultXmlOutlet. execute(ControllerState controllerState)static StringOutletUtils. 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 StringStringInputOutlet. getInput(ControllerState controllerState)Retrieves the input from the different possibilities nputValue, inputOption, inputVariable, or inputSourceElement.static StringOutletUtils. getOption(String optionName, ControllerState controllerState, Class<?> clazz)Reads an option with a given name.static StringOutletUtils. getSourceElementAttribute(String elementName, String attributeName, ControllerState controllerState, Class<?> clazz)Retrieves the value of a source element attribute. -
Uses of GeneratorException in org.apache.torque.generator.source
Subclasses of GeneratorException in org.apache.torque.generator.source Modifier and Type Class Description classSourceExceptionThis exception denotes that the source cannot be read.Methods in org.apache.torque.generator.source that throw GeneratorException Modifier and Type Method Description static SourceElementSourcePath. 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 ObjectSourcePath. 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 StringSourcePath. getPathAsString(SourceElement sourceElement)Returns the path from the root element to the source element. -
Uses of GeneratorException in org.apache.torque.generator.source.transform
Subclasses of GeneratorException in org.apache.torque.generator.source.transform Modifier and Type Class Description classSourceTransformerExceptionThis exception is the superclass of all Exceptions thrown by SourceTransformers. -
Uses of GeneratorException in org.apache.torque.generator.source.transform.model
Subclasses of GeneratorException in org.apache.torque.generator.source.transform.model Modifier and Type Class Description classNoSuchPropertyExceptionIndicates that an attempt was made to access a property which does not exist.classPropertyNotReadableExceptionIndicates that an attempt was made to read a property which is not readable.classPropertyNotWriteableExceptionIndicates that an attempt was made to write a property which is not writeable. -
Uses of GeneratorException in org.apache.torque.generator.template.groovy
Methods in org.apache.torque.generator.template.groovy that throw GeneratorException Modifier and Type Method Description OutletResultGroovyOutlet. execute(ControllerState controllerState)Executes the generation process; the result is returned.protected abstract StringGroovyOutlet. executeGroovy(Map<String,Object> binding, ControllerState controllerState)Executes the Groovy script or template and retuns the reult.protected StringGroovyScriptOutlet. executeGroovy(Map<String,Object> binding, ControllerState controllerState)protected StringGroovyTemplateOutlet. executeGroovy(Map<String,Object> binding, ControllerState controllerState)StringTorqueGenGroovy. mergepoint(String mergepointName)Processes the mergepoint with the given name. -
Uses of GeneratorException in org.apache.torque.generator.template.velocity
Methods in org.apache.torque.generator.template.velocity that throw GeneratorException Modifier and Type Method Description OutletResultVelocityOutlet. execute(ControllerState controllerState)Executes the generation process; the result is returned.StringTorqueGenVelocity. mergepoint(String mergepointName)Processes the mergepoint with the given name.
-