Code Review
/
neutron.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
sonar: use dedicated exception instead of RuntimeException
[neutron.git]
/
northbound-api
/
src
/
main
/
java
/
org
/
opendaylight
/
neutron
/
northbound
/
api
/
AbstractNeutronNorthbound.java
diff --git
a/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/AbstractNeutronNorthbound.java
b/northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/AbstractNeutronNorthbound.java
index c5160a000b15e5d962ccd261bd29375da70ab805..20788c62984da2bb99de0be0bddf8c3bb6c2d0c4 100644
(file)
--- a/
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/AbstractNeutronNorthbound.java
+++ b/
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/AbstractNeutronNorthbound.java
@@
-55,7
+55,7
@@
public abstract class AbstractNeutronNorthbound<T extends INeutronObject<T>, Neu
} catch (NoSuchMethodException | InstantiationException
| IllegalAccessException | InvocationTargetException e) {
// This case shouldn't happen
- throw new
Runtime
Exception(e);
+ throw new
IllegalArgument
Exception(e);
}
}