class Chu
{
int chu(int a, int b)throws Exception,FuShuException
{
if(b < 0)
throw new FuShuException("被除数为零啦!");
return a/b;
}
}
class Demo
{
public static void main(String[] args)
{
Chu c = new Chu();
try
{
int num = c.chu(3,-1);
System.out.println("num = "+num);
}
catch(Exception e)
{