public class CodeGeneratorFactoryException extends FactoryException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_NAME
The default classname that is associated with the exception.
|
mClassname
Constructor and Description |
---|
CodeGeneratorFactoryException(java.lang.String msg)
Constructs a
CodeGeneratorFactoryException with no detail
message. |
CodeGeneratorFactoryException(java.lang.String msg,
java.lang.String classname)
Constructs a
CodeGeneratorFactoryException with the specified detailed
message. |
CodeGeneratorFactoryException(java.lang.String msg,
java.lang.String classname,
java.lang.Throwable cause)
Constructs a
CodeGeneratorFactoryException with the
specified detailed message and a cause. |
CodeGeneratorFactoryException(java.lang.String msg,
java.lang.Throwable cause)
Constructs a
CodeGeneratorFactoryException with the
specified detailed message and a cause. |
convertException, convertException, convertException, getClassname
public static final java.lang.String DEFAULT_NAME
public CodeGeneratorFactoryException(java.lang.String msg)
CodeGeneratorFactoryException
with no detail
message. The associated classname is set to value specified by
DEFAULT_NAME
.msg
- the detailed message.DEFAULT_NAME
public CodeGeneratorFactoryException(java.lang.String msg, java.lang.String classname)
CodeGeneratorFactoryException
with the specified detailed
message.msg
- is the detailed message.classname
- the name of class that was trying to be instantiated or
some other signifier like module name.public CodeGeneratorFactoryException(java.lang.String msg, java.lang.Throwable cause)
CodeGeneratorFactoryException
with the
specified detailed message and a cause. The associated classname is set
to value specified by DEFAULT_NAME
.msg
- is the detailed message that is to be logged.cause
- is the cause (which is saved for later retrieval by the
Throwable.getCause()
method). A null
value is permitted, and indicates that the cause is nonexistent or
unknown.DEFAULT_NAME
public CodeGeneratorFactoryException(java.lang.String msg, java.lang.String classname, java.lang.Throwable cause)
CodeGeneratorFactoryException
with the
specified detailed message and a cause.msg
- is the detailed message that is to be logged.classname
- the name of class that was trying to be instantiated.cause
- is the cause (which is saved for later retrieval by the
Throwable.getCause()
method). A null
value is permitted, and indicates that the cause is nonexistent or
unknown.