68 lines
1.7 KiB
Java
Executable File
68 lines
1.7 KiB
Java
Executable File
// ino.module.SCClassException.8576.package
|
|
package de.dhbwstuttgart.myexception;
|
|
// ino.end
|
|
// ino.module.SCClassException.8576.import
|
|
import java.util.Enumeration;
|
|
import de.dhbwstuttgart.typeinference.Menge;
|
|
import de.dhbwstuttgart.logger.Logger;
|
|
// ino.end
|
|
|
|
|
|
|
|
// ino.class.SCClassException.23816.declaration
|
|
public class SCClassException extends Exception
|
|
// ino.end
|
|
// ino.class.SCClassException.23816.body
|
|
{
|
|
|
|
// ino.attribute.serialVersionUID.23820.declaration
|
|
private static final long serialVersionUID = 5339857618390360728L;
|
|
// ino.end
|
|
// ino.attribute.exlist.23823.declaration
|
|
private Menge<SCExcept> exlist=new Menge<SCExcept>();
|
|
// ino.end
|
|
// ino.attribute.parserlog.23826.declaration
|
|
protected static Logger parserlog = Logger.getLogger("parser");
|
|
// ino.end
|
|
|
|
// ino.method.addException.23829.definition
|
|
public void addException(Menge<SCExcept> v)
|
|
// ino.end
|
|
// ino.method.addException.23829.body
|
|
{
|
|
exlist=v;
|
|
}
|
|
// ino.end
|
|
|
|
|
|
|
|
// ino.method.addClassname.23832.definition
|
|
public void addClassname(String cn)
|
|
// ino.end
|
|
// ino.method.addClassname.23832.body
|
|
{
|
|
SCExcept hilf;
|
|
for(Enumeration<SCExcept> el=exlist.elements();el.hasMoreElements();)
|
|
{
|
|
hilf=el.nextElement();
|
|
hilf.set_classname(cn);
|
|
}
|
|
}
|
|
// ino.end
|
|
|
|
// ino.method.fehlerausgabe.23835.definition
|
|
public void fehlerausgabe()
|
|
// ino.end
|
|
// ino.method.fehlerausgabe.23835.body
|
|
{
|
|
SCExcept hilfe;
|
|
for(Enumeration<SCExcept> el=exlist.elements();el.hasMoreElements();)
|
|
{
|
|
hilfe=el.nextElement();
|
|
hilfe.fehlerausgabe();
|
|
}
|
|
}
|
|
// ino.end
|
|
}
|
|
// ino.end
|