Eliminate SourceException throws declarations
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / stmt / rfc6020 / BitsSpecificationImpl.java
index 59ee8d73ada8debc52d933eacdece701cb118bcf..816bdb62c5666842294217b000d1c4454df9e025 100644 (file)
@@ -18,7 +18,6 @@ import org.opendaylight.yangtools.yang.parser.spi.SubstatementValidator;
 import org.opendaylight.yangtools.yang.parser.spi.meta.AbstractDeclaredStatement;
 import org.opendaylight.yangtools.yang.parser.spi.meta.AbstractStatementSupport;
 import org.opendaylight.yangtools.yang.parser.spi.meta.StmtContext;
-import org.opendaylight.yangtools.yang.parser.spi.source.SourceException;
 import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.type.BitsSpecificationEffectiveStatementImpl;
 
 public class BitsSpecificationImpl extends AbstractDeclaredStatement<String> implements TypeStatement.BitsSpecification {
@@ -58,7 +57,7 @@ public class BitsSpecificationImpl extends AbstractDeclaredStatement<String> imp
 
         @Override
         public void onFullDefinitionDeclared(StmtContext.Mutable<String, BitsSpecification,
-                EffectiveStatement<String, BitsSpecification>> stmt) throws SourceException {
+                EffectiveStatement<String, BitsSpecification>> stmt) {
             super.onFullDefinitionDeclared(stmt);
             SUBSTATEMENT_VALIDATOR.validate(stmt);
         }
@@ -74,4 +73,4 @@ public class BitsSpecificationImpl extends AbstractDeclaredStatement<String> imp
         return allDeclared(BitStatement.class);
     }
 
-}
\ No newline at end of file
+}