forked from JavaTX/JavaCompilerCore
53 lines
1.4 KiB
Java
Executable File
53 lines
1.4 KiB
Java
Executable File
// ino.module.SCException.8578.package
|
|
package de.dhbwstuttgart.myexception;
|
|
// ino.end
|
|
// ino.module.SCException.8578.import
|
|
import java.util.Enumeration;
|
|
import java.util.Vector;
|
|
import de.dhbwstuttgart.logger.Logger;
|
|
// ino.end
|
|
|
|
|
|
|
|
// ino.class.SCException.23880.declaration
|
|
public class SCException extends Exception
|
|
// ino.end
|
|
// ino.class.SCException.23880.body
|
|
{
|
|
// ino.attribute.serialVersionUID.23884.declaration
|
|
private static final long serialVersionUID = 1L;
|
|
// ino.end
|
|
// ino.attribute.scerrors.23887.declaration
|
|
private Vector<SCClassException> scerrors = new Vector<SCClassException>();
|
|
// ino.end
|
|
// ino.attribute.parserlog.23890.declaration
|
|
protected static Logger parserlog = Logger.getLogger("parser");
|
|
// ino.end
|
|
|
|
// ino.method.add_classexceptions.23893.definition
|
|
public void add_classexceptions(SCClassException ex)
|
|
// ino.end
|
|
// ino.method.add_classexceptions.23893.body
|
|
{
|
|
scerrors.addElement(ex);
|
|
}
|
|
// ino.end
|
|
|
|
// ino.method.fehlerausgabe.23896.definition
|
|
public void fehlerausgabe()
|
|
// ino.end
|
|
// ino.method.fehlerausgabe.23896.body
|
|
{
|
|
SCClassException hilf;
|
|
for(Enumeration<SCClassException> el=scerrors.elements();el.hasMoreElements();)
|
|
{
|
|
hilf=el.nextElement();
|
|
hilf.fehlerausgabe();
|
|
if(el.hasMoreElements())
|
|
parserlog.debug("");
|
|
}
|
|
}
|
|
// ino.end
|
|
}
|
|
// ino.end
|