Exceptions should have serialVersionUid
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / spi / meta / InvalidSubstatementException.java
index b4d258abd616beecb328b2de5bb40b7643c05800..c8678eca20e7e23489b846f8109225fff0bd2416 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 Invalid element in yang file
- *
  */
 public class InvalidSubstatementException extends SourceException {
-    public InvalidSubstatementException(@Nonnull String message, @Nonnull StatementSourceReference source, Throwable cause) {
+    private static final long serialVersionUID = 1L;
+
+    public InvalidSubstatementException(@Nonnull final String message, @Nonnull final StatementSourceReference source, final Throwable cause) {
         super(message, source, cause);
     }
 
-    public InvalidSubstatementException(@Nonnull String message, @Nonnull StatementSourceReference source) {
+    public InvalidSubstatementException(@Nonnull final String message, @Nonnull final StatementSourceReference source) {
         super(message, source);
     }
 }