package math;

public class DivideByZeroException
    extends
      Exception
{
  public DivideByZeroException(String reason){
    super(reason);
  }
  
  public DivideByZeroException(){
    super();
  }
  
  public String printException(){
    return "Divide by zero!";
  }
}

@@ -79,132 +79,466 @@
 %7B%0A  
-public DivideByZeroException(String reason)%7B%0A    super(reason);%0A  %7D%0A  %0A  public DivideByZeroException()%7B%0A    super();%0A  %7D%0A  
+/**%0A   * %0A   */%0A  private static final long serialVersionUID = 1L;%0A%0A  /*%0A   * @param String reason%0A   * @purpose calls super constructor of same param%0A   */ %0A  public DivideByZeroException(String reason)%7B%0A    super(reason);%0A  %7D // DivideByZeroException(String)%0A  %0A  /*%0A   * @purpose calls super constructor of same param%0A   */%0A  public DivideByZeroException()%7B%0A    super();%0A  %7D// DivideByZeroException()%0A  %0A  /*%0A   * @purpose returns customized message%0A   */
 %0A  p
@@ -605,7 +605,57 @@
 %0A  %7D
-%0A%7D%0A
+ // printException()%0A%7D // class DivideByZeroException

Add comments for custom exception