class MyException extends Exception {
	private int exceptnumber;
	MyException ( int a ) {
		exceptnumber = a;
	}
	public String toString () {
		return "Զ쳣[" + exceptnumber + "]";  //Զ쳣Ϣ
	}
}
class Test6_5 {
	static void makeExcept(int a) throws MyException {
		System.out.println("յĲΪ" + a );  //յĲ
		if ( a == 0 )
			throw new MyException(a);     //׳Զ쳣MyException
		System.out.println("ûвκ쳣");
	}
	public static void main ( String args[] ) {
		try {
			makeExcept(5);
			makeExcept(0);
		} catch ( MyException e ) {       //Զ쳣MyException
			System.out.println("" + e );
		}
	}
}
