org.eigenbase.resgen
Class JavaBaseGenerator.ExceptionDescription
java.lang.Object
org.eigenbase.resgen.JavaBaseGenerator.ExceptionDescription
- Enclosing class:
- JavaBaseGenerator
class JavaBaseGenerator.ExceptionDescription
- extends Object
Description of the constructs that an exception class has.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hasInstCon
boolean hasInstCon
hasInstThrowCon
boolean hasInstThrowCon
hasStringCon
boolean hasStringCon
hasStringThrowCon
boolean hasStringThrowCon
JavaBaseGenerator.ExceptionDescription
JavaBaseGenerator.ExceptionDescription(String errorClassName)
- Figures out what constructors the exception class has. We'd
prefer to use
init(ResourceDefinition rd)
or
init(ResourceDefinition rd, Throwable e)
if it has them, but we can use
init(String s)
and
init(String s, Throwable e)
as a fall-back.
Prints a warming message if the class cannot be loaded.
- Parameters:
errorClassName
- Name of exception class