]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/engine/TextEntry.java
Add text to all RuntimeExceptions.
[Dictionary.git] / src / com / hughes / android / dictionary / engine / TextEntry.java
index 449d83dcd2b63741bc01628778823d0de243de03..88188ded58cbd4917fb59d4b4a9fbcc767e53bae 100644 (file)
@@ -33,7 +33,7 @@ public class TextEntry extends AbstractEntry implements RAFSerializable<TextEntr
             throws IOException {
         super(dictionary, raf, index);
         text = raf.readUTF();
-        throw new RuntimeException();
+        throw new RuntimeException("TextEntry constructor should be unreachable");
     }
 
     @Override