Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Sho SHIMIZU
2016-10-06 19:04:14 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6e71804d631ffff9a39fb7ba5f404d1d90c52524
6e71804d
1 parent
c4a9e87e
Simplify catch clauses
Change-Id: Ib49ac1d8f7e42323d72a99d1c807f610f48b71ee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
16 deletions
incubator/rpc-grpc/src/main/java/org/onosproject/incubator/rpc/grpc/LinkProviderServiceClientProxy.java
incubator/rpc-grpc/src/main/java/org/onosproject/incubator/rpc/grpc/LinkProviderServiceClientProxy.java
View file @
6e71804
...
...
@@ -82,10 +82,7 @@ class LinkProviderServiceClientProxy
log
.
error
(
"linkDetected({}) failed"
,
linkDescription
,
e
);
invalidate
();
Thread
.
currentThread
().
interrupt
();
}
catch
(
ExecutionException
e
)
{
log
.
error
(
"linkDetected({}) failed"
,
linkDescription
,
e
);
invalidate
();
}
catch
(
TimeoutException
e
)
{
}
catch
(
ExecutionException
|
TimeoutException
e
)
{
log
.
error
(
"linkDetected({}) failed"
,
linkDescription
,
e
);
invalidate
();
}
...
...
@@ -105,10 +102,7 @@ class LinkProviderServiceClientProxy
log
.
error
(
"linkVanished({}) failed"
,
linkDescription
,
e
);
invalidate
();
Thread
.
currentThread
().
interrupt
();
}
catch
(
ExecutionException
e
)
{
log
.
error
(
"linkVanished({}) failed"
,
linkDescription
,
e
);
invalidate
();
}
catch
(
TimeoutException
e
)
{
}
catch
(
ExecutionException
|
TimeoutException
e
)
{
log
.
error
(
"linkVanished({}) failed"
,
linkDescription
,
e
);
invalidate
();
}
...
...
@@ -128,10 +122,7 @@ class LinkProviderServiceClientProxy
log
.
error
(
"linksVanished({}) failed"
,
connectPoint
,
e
);
invalidate
();
Thread
.
currentThread
().
interrupt
();
}
catch
(
ExecutionException
e
)
{
log
.
error
(
"linksVanished({}) failed"
,
connectPoint
,
e
);
invalidate
();
}
catch
(
TimeoutException
e
)
{
}
catch
(
ExecutionException
|
TimeoutException
e
)
{
log
.
error
(
"linksVanished({}) failed"
,
connectPoint
,
e
);
invalidate
();
}
...
...
@@ -151,10 +142,7 @@ class LinkProviderServiceClientProxy
log
.
error
(
"linksVanished({}) failed"
,
deviceId
,
e
);
invalidate
();
Thread
.
currentThread
().
interrupt
();
}
catch
(
ExecutionException
e
)
{
log
.
error
(
"linksVanished({}) failed"
,
deviceId
,
e
);
invalidate
();
}
catch
(
TimeoutException
e
)
{
}
catch
(
ExecutionException
|
TimeoutException
e
)
{
log
.
error
(
"linksVanished({}) failed"
,
deviceId
,
e
);
invalidate
();
}
...
...
Please
register
or
login
to post a comment