package EDU.neu.ccs.demeter.tools.apstudio.graphedit;
import java.awt.*;
import java.io.*;
import java.util.*;
import EDU.neu.ccs.demeter.*;
import EDU.neu.ccs.demeter.common.tg.*;


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; }
  Throws() { super(); }
  public Throws(ClassName_Commalist exceptions) {
    super();
    set_exceptions(exceptions);
  }
  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.ByteArrayInputStream(s.getBytes())); }
    catch (ParseException e) { throw new RuntimeException(e.toString()); }
  }
  void universal_trv0_bef(UniversalVisitor _v_) {
    _v_.before(this);
  }
  void universal_trv0_aft(UniversalVisitor _v_) {
    _v_.after(this);
  }
  void universal_trv0(UniversalVisitor _v_) {
    universal_trv0_bef(_v_);
    if (exceptions != null) {
      _v_.before_exceptions(this, exceptions);
    exceptions.universal_trv0(_v_);
      _v_.after_exceptions(this, exceptions);
    }
    universal_trv0_aft(_v_);
  }
  void toAllSubclasses_Program_trv_bef(ClassNameTranspVisitor cntv, EdgeVisitor aev) {  }
  void toAllSubclasses_Program_trv_aft(ClassNameTranspVisitor cntv, EdgeVisitor aev) {  }
  void toAllSubclasses_Program_trv(ClassNameTranspVisitor cntv, EdgeVisitor aev) {
    toAllSubclasses_Program_trv_bef(cntv, aev);
    if (exceptions != null) {
    exceptions.toAllSubclasses_Program_trv(cntv, aev);
    }
    toAllSubclasses_Program_trv_aft(cntv, aev);
  }
}

