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.
  • 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 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