/* RuntimeException_Sub2 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.applet.Applet;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringReader;
import java.io.StringWriter;

public class RuntimeException_Sub2 extends RuntimeException
{
    public static int anInt11087;
    public static String aString11088;
    String aString11089;
    public static int anInt11090;
    static long aLong11091;
    public static Applet anApplet11092;
    Throwable aThrowable11093;
    
    static String method17601(Throwable throwable) throws IOException {
	String string;
	if (throwable instanceof RuntimeException_Sub2) {
	    RuntimeException_Sub2 runtimeexception_sub2
		= (RuntimeException_Sub2) throwable;
	    string = new StringBuilder().append
			 (((RuntimeException_Sub2) runtimeexception_sub2)
			  .aString11089)
			 .append
			 (" | ").toString();
	    throwable = (((RuntimeException_Sub2) runtimeexception_sub2)
			 .aThrowable11093);
	} else
	    string = "";
	StringWriter stringwriter = new StringWriter();
	PrintWriter printwriter = new PrintWriter(stringwriter);
	throwable.printStackTrace(printwriter);
	printwriter.close();
	String string_0_ = stringwriter.toString();
	BufferedReader bufferedreader
	    = new BufferedReader(new StringReader(string_0_));
	String string_1_ = bufferedreader.readLine();
	for (;;) {
	    String string_2_ = bufferedreader.readLine();
	    if (null == string_2_)
		break;
	    int i = string_2_.indexOf('(');
	    int i_3_ = string_2_.indexOf(')', 1 + i);
	    String string_4_;
	    if (i != -1)
		string_4_ = string_2_.substring(0, i);
	    else
		string_4_ = string_2_;
	    string_4_ = string_4_.trim();
	    string_4_ = string_4_.substring(string_4_.lastIndexOf(' ') + 1);
	    string_4_ = string_4_.substring(string_4_.lastIndexOf('\t') + 1);
	    string = new StringBuilder().append(string).append(string_4_)
			 .toString();
	    if (-1 != i && i_3_ != -1) {
		int i_5_ = string_2_.indexOf(".java:", i);
		if (i_5_ >= 0)
		    string
			= new StringBuilder().append(string).append
			      (string_2_.substring(5 + i_5_, i_3_)).toString();
	    }
	    string = new StringBuilder().append(string).append(' ').toString();
	}
	string = new StringBuilder().append(string).append("| ").append
		     (string_1_).toString();
	return string;
    }
    
    public static RuntimeException_Sub2 method17602(Throwable throwable,
						    String string) {
	RuntimeException_Sub2 runtimeexception_sub2;
	if (throwable instanceof RuntimeException_Sub2) {
	    runtimeexception_sub2 = (RuntimeException_Sub2) throwable;
	    StringBuilder stringbuilder = new StringBuilder();
	    RuntimeException_Sub2 runtimeexception_sub2_6_
		= runtimeexception_sub2;
	    ((RuntimeException_Sub2) runtimeexception_sub2_6_).aString11089
		= stringbuilder.append
		      (((RuntimeException_Sub2) runtimeexception_sub2_6_)
		       .aString11089)
		      .append
		      (' ').append
		      (string).toString();
	} else
	    runtimeexception_sub2
		= new RuntimeException_Sub2(throwable, string);
	return runtimeexception_sub2;
    }
    
    public static RuntimeException_Sub2 method17603(Throwable throwable,
						    String string) {
	RuntimeException_Sub2 runtimeexception_sub2;
	if (throwable instanceof RuntimeException_Sub2) {
	    runtimeexception_sub2 = (RuntimeException_Sub2) throwable;
	    StringBuilder stringbuilder = new StringBuilder();
	    RuntimeException_Sub2 runtimeexception_sub2_7_
		= runtimeexception_sub2;
	    ((RuntimeException_Sub2) runtimeexception_sub2_7_).aString11089
		= stringbuilder.append
		      (((RuntimeException_Sub2) runtimeexception_sub2_7_)
		       .aString11089)
		      .append
		      (' ').append
		      (string).toString();
	} else
	    runtimeexception_sub2
		= new RuntimeException_Sub2(throwable, string);
	return runtimeexception_sub2;
    }
    
    static String method17604(Throwable throwable) throws IOException {
	String string;
	if (throwable instanceof RuntimeException_Sub2) {
	    RuntimeException_Sub2 runtimeexception_sub2
		= (RuntimeException_Sub2) throwable;
	    string = new StringBuilder().append
			 (((RuntimeException_Sub2) runtimeexception_sub2)
			  .aString11089)
			 .append
			 (" | ").toString();
	    throwable = (((RuntimeException_Sub2) runtimeexception_sub2)
			 .aThrowable11093);
	} else
	    string = "";
	StringWriter stringwriter = new StringWriter();
	PrintWriter printwriter = new PrintWriter(stringwriter);
	throwable.printStackTrace(printwriter);
	printwriter.close();
	String string_8_ = stringwriter.toString();
	BufferedReader bufferedreader
	    = new BufferedReader(new StringReader(string_8_));
	String string_9_ = bufferedreader.readLine();
	for (;;) {
	    String string_10_ = bufferedreader.readLine();
	    if (null == string_10_)
		break;
	    int i = string_10_.indexOf('(');
	    int i_11_ = string_10_.indexOf(')', 1 + i);
	    String string_12_;
	    if (i != -1)
		string_12_ = string_10_.substring(0, i);
	    else
		string_12_ = string_10_;
	    string_12_ = string_12_.trim();
	    string_12_ = string_12_.substring(string_12_.lastIndexOf(' ') + 1);
	    string_12_
		= string_12_.substring(string_12_.lastIndexOf('\t') + 1);
	    string = new StringBuilder().append(string).append(string_12_)
			 .toString();
	    if (-1 != i && i_11_ != -1) {
		int i_13_ = string_10_.indexOf(".java:", i);
		if (i_13_ >= 0)
		    string = new StringBuilder().append(string).append
				 (string_10_.substring(5 + i_13_, i_11_))
				 .toString();
	    }
	    string = new StringBuilder().append(string).append(' ').toString();
	}
	string = new StringBuilder().append(string).append("| ").append
		     (string_9_).toString();
	return string;
    }
    
    RuntimeException_Sub2(Throwable throwable, String string) {
	((RuntimeException_Sub2) this).aString11089 = string;
	((RuntimeException_Sub2) this).aThrowable11093 = throwable;
	initCause(throwable);
    }
    
    static final String method17605(String string, String string_14_,
				    String string_15_) {
	for (int i = string.indexOf(string_14_); -1 != i;
	     i = string.indexOf(string_14_, i + string_15_.length()))
	    string
		= new StringBuilder().append(string.substring(0, i)).append
		      (string_15_).append
		      (string.substring(i + string_14_.length())).toString();
	return string;
    }
    
    static final String method17606(String string, String string_16_,
				    String string_17_) {
	for (int i = string.indexOf(string_16_); -1 != i;
	     i = string.indexOf(string_16_, i + string_17_.length()))
	    string
		= new StringBuilder().append(string.substring(0, i)).append
		      (string_17_).append
		      (string.substring(i + string_16_.length())).toString();
	return string;
    }
}
