Package org.eigenbase.resgen
Class JavaBaseGenerator.ExceptionDescription
java.lang.Object
org.eigenbase.resgen.JavaBaseGenerator.ExceptionDescription
- Enclosing class:
JavaBaseGenerator
Description of the constructs that an exception class has.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) boolean(package private) boolean(package private) boolean -
Constructor Summary
ConstructorsConstructorDescriptionExceptionDescription(String errorClassName) Figures out what constructors the exception class has. -
Method Summary
-
Field Details
-
hasInstCon
boolean hasInstCon -
hasInstThrowCon
boolean hasInstThrowCon -
hasStringCon
boolean hasStringCon -
hasStringThrowCon
boolean hasStringThrowCon
-
-
Constructor Details
-
ExceptionDescription
ExceptionDescription(String errorClassName) Figures out what constructors the exception class has. We'd prefer to useinit(ResourceDefinition rd)orinit(ResourceDefinition rd, Throwable e)if it has them, but we can useinit(String s)andinit(String s, Throwable e)as a fall-back. Prints a warming message if the class cannot be loaded.- Parameters:
errorClassName- Name of exception class
-