Remove unused exceptions
[controller.git] / opendaylight / md-sal / sal-remoterpc-connector / src / test / java / org / opendaylight / controller / remote / rpc / RpcErrorsExceptionTest.java
index 6735d37bdee5195e1ca9eb9b9e424ae9233d11a4..941ae2b330090b1cd49fffe45dd31c6495408058 100644 (file)
@@ -22,7 +22,7 @@ public class RpcErrorsExceptionTest {
     private RpcErrorsException exception;
 
     @Before
-    public void setUp() throws Exception {
+    public void setUp() {
         final RpcError rpcError = RpcResultBuilder.newError(
                 RpcError.ErrorType.RPC, "error", "error message");
         final RpcError rpcWarning = RpcResultBuilder.newWarning(
@@ -41,7 +41,7 @@ public class RpcErrorsExceptionTest {
     }
 
     @Test
-    public void testGetRpcErrors() throws Exception {
+    public void testGetRpcErrors() {
         final List<RpcError> actualErrors = (List<RpcError>) exception.getRpcErrors();
         Assert.assertEquals(rpcErrors.size(), actualErrors.size());