import edu.neu.ccs.demeter.*;
class Throws {
  protected ClassName_Commalist exceptions;
  public ClassName_Commalist get_exceptions() { return exceptions; }
  public void set_exceptions(ClassName_Commalist new_exceptions) { exceptions = new_exceptions; }
  public Throws() { super(); }
  public Throws(ClassName_Commalist exceptions) {
    super();
    set_exceptions(exceptions);
  }
  public static Throws parse(java.io.Reader in) throws ParseException { return new Parser(in)._Throws(); }
  public static Throws parse(java.io.InputStream in) throws ParseException { return new Parser(in)._Throws(); }
  public static Throws parse(String s) {
    try { return parse(new java.io.StringReader(s)); }
    catch (ParseException e) {
      throw new RuntimeException(e.toString());
    }
  }
  void universal_trv0_bef(UniversalVisitor _v_) {
    ((UniversalVisitor) _v_).before(this);
  }

  void universal_trv0_aft(UniversalVisitor _v_) {
    ((UniversalVisitor) _v_).after(this);
  }

  void universal_trv0(UniversalVisitor _v_) {
    universal_trv0_bef(_v_);
    if (exceptions != null) {
      ((UniversalVisitor) _v_).before_exceptions(this, exceptions);
      exceptions.universal_trv0(_v_);
      ((UniversalVisitor) _v_).after_exceptions(this, exceptions);
    }
    universal_trv0_aft(_v_);
  }

  void __trav_display_DAJ_trv_bef(DisplayVisitor __v0) {
    ((DisplayVisitor) __v0).before(this);
  }

  void __trav_display_DAJ_trv_aft(DisplayVisitor __v0) {
    ((DisplayVisitor) __v0).after(this);
  }

  void __trav_display_DAJ_trv(DisplayVisitor __v0) {
    __trav_display_DAJ_trv_bef(__v0);
    if (exceptions != null) {
      ((DisplayVisitor) __v0).before_exceptions(this, exceptions);
      exceptions.__trav_display_DAJ_trv(__v0);
      ((UniversalVisitor) __v0).after_exceptions(this, exceptions);
    }
    __trav_display_DAJ_trv_aft(__v0);
  }

}

