import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;

public class STB_Sample {
	public void testSTB(File f1, File f2) throws STBException {
		try {
			InputStream is = new FileInputStream(f1);
		} catch (IOException ioe) {
			throw new STBException();
		}

		try {
			InputStream is = new FileInputStream(f2);
		} catch (IOException ioe) {
			throw new STBException();
		}
	}

	public void fpTestMethodDeclaresThrownType(File f1, File f2) throws STBException, IOException {
		try {
			InputStream is = new FileInputStream(f1);
		} catch (IOException ioe) {
			throw new STBException();
		}

		try {
			InputStream is = new FileInputStream(f2);
		} catch (IOException ioe) {
			throw new STBException();
		}
	}

	static class STBException extends Exception {
	}
}

@@ -764,55 +764,1066 @@
 %0A%09%7D%0A
-%0A%09static class STBException extends Exception %7B
+%09%0A%09public void fpTestDiffMessages(File f1, File f2) throws STBException %7B%0A       try %7B%0A            InputStream is = new FileInputStream(f1);%0A        %7D catch (IOException ioe) %7B%0A            throw new STBException(%22Couldn't open file 1%22);%0A        %7D%0A%0A        try %7B%0A            InputStream is = new FileInputStream(f2);%0A        %7D catch (IOException ioe) %7B%0A            throw new STBException(%22Couldn't open file 2%22);%0A        %7D%0A%09%7D%0A%09%0A%09   public void fpTestDiffMessagesByAppending(File f1, File f2) throws STBException %7B%0A%09       try %7B%0A%09            InputStream is = new FileInputStream(f1);%0A%09        %7D catch (IOException ioe) %7B%0A%09            throw new STBException(%22Couldn't open file: %22 + f1);%0A%09        %7D%0A%0A%09        try %7B%0A%09            InputStream is = new FileInputStream(f2);%0A%09        %7D catch (IOException ioe) %7B%0A%09            throw new STBException(%22Couldn't open file: %22 + f2);%0A%09        %7D%0A%09    %7D%0A%0A%09static class STBException extends Exception %7B%0A%09    %0A%09    public STBException() %7B%0A%09    %7D%0A%09    %0A%09    public STBException(String message) %7B%0A%09        super(message);%0A%09    %7D
 %0A%09%7D%0A

add more tests