Exceptions should have serialVersionUid
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / spi / meta / MissingSubstatementException.java
index a2c45721f9d82c24351a27ab5d6aee8f1235dabe..44978aa56cf0dc2cd1be2c92dee9b5aeefe323ff 100644 (file)
@@ -12,16 +12,16 @@ import org.opendaylight.yangtools.yang.parser.spi.source.SourceException;
 import org.opendaylight.yangtools.yang.parser.spi.source.StatementSourceReference;
 
 /**
- *
  * Thrown when there was Missing element in yang file
- *
  */
 public class MissingSubstatementException extends SourceException {
-    public MissingSubstatementException(@Nonnull String message, @Nonnull StatementSourceReference source) {
+    private static final long serialVersionUID = 1L;
+
+    public MissingSubstatementException(@Nonnull final String message, @Nonnull final StatementSourceReference source) {
         super(message, source);
     }
 
-    public MissingSubstatementException(@Nonnull String message, @Nonnull StatementSourceReference source, Throwable cause) {
+    public MissingSubstatementException(@Nonnull final String message, @Nonnull final StatementSourceReference source, final Throwable cause) {
         super(message, source, cause);
     }
 }