src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java
changeset 58350 e23e560afbcb
parent 53515 a772e65727c5
equal deleted inserted replaced
58349:894a3d15c344 58350:e23e560afbcb
   135     * to inference errors that can arise during a method applicability check.
   135     * to inference errors that can arise during a method applicability check.
   136     */
   136     */
   137     public static class InferenceException extends InapplicableMethodException {
   137     public static class InferenceException extends InapplicableMethodException {
   138         private static final long serialVersionUID = 0;
   138         private static final long serialVersionUID = 0;
   139 
   139 
   140         List<JCDiagnostic> messages = List.nil();
   140         transient List<JCDiagnostic> messages = List.nil();
   141 
   141 
   142         InferenceException() {
   142         InferenceException() {
   143             super(null);
   143             super(null);
   144         }
   144         }
   145 
   145 
  1319          * to pick the next node to solve in the inference graph.
  1319          * to pick the next node to solve in the inference graph.
  1320          */
  1320          */
  1321         public static class NodeNotFoundException extends RuntimeException {
  1321         public static class NodeNotFoundException extends RuntimeException {
  1322             private static final long serialVersionUID = 0;
  1322             private static final long serialVersionUID = 0;
  1323 
  1323 
  1324             InferenceGraph graph;
  1324             transient InferenceGraph graph;
  1325 
  1325 
  1326             public NodeNotFoundException(InferenceGraph graph) {
  1326             public NodeNotFoundException(InferenceGraph graph) {
  1327                 this.graph = graph;
  1327                 this.graph = graph;
  1328             }
  1328             }
  1329         }
  1329         }