< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties

Print this page
rev 52490 : imported patch 8212982b2

@@ -198,10 +198,18 @@
     continue outside of enclosing switch expression
 
 compiler.err.return.outside.switch.expression=\
     return outside of enclosing switch expression
 
+compiler.err.rule.completes.normally=\
+    switch rule completes normally\n\
+    (switch rules in switch expressions must either provide a value or throw)
+
+compiler.err.switch.expression.completes.normally=\
+    switch expression completes without providing a value\n\
+    (switch expressions must either provide a value or throw for all possible input values)
+
 # 0: name
 compiler.err.break.ambiguous.target=\
     ambiguous reference to ''{0}''\n\
     (''{0}'' is both a label and an expression)
 
< prev index next >