# Uses of Class
org.apache.torque.generator.source.SourceException

Packages that use SourceException
Package
Description
org.apache.torque.generator.control
This package implements the torque generator Controller .
org.apache.torque.generator.source
This package contains the handling of source files.
org.apache.torque.generator.source.jdbc
This package implements sources which read from jdbc.
org.apache.torque.generator.source.skipDecider
This package contains the definition and implementations of source filters.
org.apache.torque.generator.source.stream
This package contains the handling of stream-based sources, such as file sources.
org.apache.torque.generator.template.velocity
This package contains the handling of velocity outlets in the Torque generator.

- ## Uses of SourceException in org.apache.torque.generator.control

  Methods in org.apache.torque.generator.control that throw SourceException
  Modifier and Type
  Method
  Description
  `Object`
  Controller.`transformSource(Object sourceRoot, List<SourceTransformerDefinition> transformerDefinitions, ControllerState controllerState)`
  Applies all transformer definitions to the current source.

- ## Uses of SourceException in org.apache.torque.generator.source

  Methods in org.apache.torque.generator.source that throw SourceException
  Modifier and Type
  Method
  Description
  `protected abstract SourceElement`
  SourceImpl.`createRootElement()`
  Reads the root element and the whole untransformed source tree.
  `SourceElement`
  Source.`getRootElement()`
  Returns the root element of the source.
  `SourceElement`
  SourceImpl.`getRootElement()`

- ## Uses of SourceException in org.apache.torque.generator.source.jdbc

  Methods in org.apache.torque.generator.source.jdbc that throw SourceException
  Modifier and Type
  Method
  Description
  `protected SourceElement`
  JdbcMetadataSource.`createRootElement()`

- ## Uses of SourceException in org.apache.torque.generator.source.skipDecider

  Methods in org.apache.torque.generator.source.skipDecider that throw SourceException
  Modifier and Type
  Method
  Description
  `boolean`
  SkipDecider.`proceed(ControllerState controllerState)`
  Decides whether the source file should be skipped and not used for generation.

- ## Uses of SourceException in org.apache.torque.generator.source.stream

  Methods in org.apache.torque.generator.source.stream that throw SourceException
  Modifier and Type
  Method
  Description
  `SourceElement`
  CombinedFileSource.`createRootElement()`
  Reads and parses the input file and creates the element tree from it.
  `SourceElement`
  FileSource.`createRootElement()`
  Reads and parses the input file and creates the element tree from it.
  `SourceElement`
  PropertiesSourceFormat.`parse(InputStream inputStream, ControllerState controllerState)`
  Parses a Stream in Properties format and returns the root element of the created element tree.
  `SourceElement`
  StreamSourceFormat.`parse(InputStream inputStream, ControllerState controllerState)`
  Parses a source file and returns its root element.
  `SourceElement`
  XmlSourceFormat.`parse(InputStream xmlStream, ControllerState controllerState)`
  Parses a stream containing xml data and creates a source element hierarchy from it.
  `String`
  SourceToXml.`toXml(SourceElement rootElement, boolean createIdAttributes)`
  Renders a source element and its children as XML.

- ## Uses of SourceException in org.apache.torque.generator.template.velocity

  Methods in org.apache.torque.generator.template.velocity that throw SourceException
  Modifier and Type
  Method
  Description
  `SourceElement`
  TorqueGenVelocity.`getChild(String name)`
  Returns the first child of the current source element with the given name.
  `List<SourceElement>`
  TorqueGenVelocity.`getChildren()`
  Returns all children of the current source element.
  `List<SourceElement>`
  TorqueGenVelocity.`getChildren(String name)`
  Returns the children of the current source element with a certain name.
  `SourceElement`
  TorqueGenVelocity.`getParent()`
  Returns the parent of the current source element.
  `SourceElement`
  TorqueGenVelocity.`getSourceElement()`
  Returns the current source element, if it is a SourceElement.