|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.griphyn.common.util.FactoryException
org.griphyn.cPlanner.code.generator.CodeGeneratorFactoryException
public class CodeGeneratorFactoryException
Class to notify of failures while instantiating Code Generator implementations.
| Field Summary | |
|---|---|
static String |
DEFAULT_NAME
The default classname that is associated with the exception. |
| Fields inherited from class org.griphyn.common.util.FactoryException |
|---|
mClassname |
| Constructor Summary | |
|---|---|
CodeGeneratorFactoryException(String msg)
Constructs a CodeGeneratorFactoryException with no detail
message. |
|
CodeGeneratorFactoryException(String msg,
String classname)
Constructs a CodeGeneratorFactoryException with the specified detailed
message. |
|
CodeGeneratorFactoryException(String msg,
String classname,
Throwable cause)
Constructs a CodeGeneratorFactoryException with the
specified detailed message and a cause. |
|
CodeGeneratorFactoryException(String msg,
Throwable cause)
Constructs a CodeGeneratorFactoryException with the
specified detailed message and a cause. |
|
| Method Summary |
|---|
| Methods inherited from class org.griphyn.common.util.FactoryException |
|---|
convertException, convertException, convertException, getClassname |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_NAME
| Constructor Detail |
|---|
public CodeGeneratorFactoryException(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(String msg,
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(String msg,
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(String msg,
String classname,
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||