Package org.apache.torque.generator
Class GeneratorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.torque.generator.GeneratorException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConfigurationException
,ControllerException
,SourceException
,SourceTransformerException
public class GeneratorException extends Exception
This exception is the superclass of all Exceptions thrown in the Torque generator. It is thrown whenever an Error occurs which is specific to the Torque Generator.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GeneratorException()
Constructs a OutletException without error message.GeneratorException(String message)
Constructs a GeneratorException with the given error message.GeneratorException(String message, Throwable cause)
Constructs a GeneratorException which wraps another exception, and which has its own error message.GeneratorException(Throwable cause)
Constructs a GeneratorException which wraps another exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
GeneratorException
public GeneratorException()
Constructs a OutletException without error message.
-
GeneratorException
public GeneratorException(String message)
Constructs a GeneratorException with the given error message.- Parameters:
message
- the error message- See Also:
Exception(java.lang.String)
-
GeneratorException
public GeneratorException(Throwable cause)
Constructs a GeneratorException which wraps another exception.- Parameters:
cause
- The cause of the error.- See Also:
Exception(java.lang.Throwable)
-
GeneratorException
public GeneratorException(String message, Throwable cause)
Constructs a GeneratorException which wraps another exception, and which has its own error message.- Parameters:
message
- The error message.cause
- The exception to wrap.- See Also:
Exception(java.lang.String, java.lang.Throwable)
-
-