package main.java.basics.optional;

/**
 * Title : main.java.basics.optional </br>
 * Description : </br>
 *  <p>
 *  <ul> 
 *    <li>  </li>
 *  </ul>
 * @author chile
 * @version 1.0
 * @date 2018/1/18 14:53
 */
public class ValueAbsentException extends Exception {
    ValueAbsentException() {
        System.out.println("Value absent.");
    }
}

@@ -290,16 +290,33 @@
 ion() %7B%0A
+        super();%0A
         
@@ -357,11 +357,236 @@
 );%0A    %7D
+%0A%0A    ValueAbsentException(String msg) %7B%0A        super(msg);%0A        System.out.println(%22Value absent.%22);%0A    %7D%0A%0A    @Override%0A    public String getMessage() %7B%0A        return %22No value present in the Optional instance%22;%0A    %7D
 %0A%7D%0A

Add method to ValueAbsentException