Open Kilda Java Documentation
SwitchOperationException.java
Go to the documentation of this file.
1
package
org.openkilda.floodlight.switchmanager;
2
3
import
org
.projectfloodlight.openflow.types.DatapathId;
4
5
public
class
SwitchOperationException
extends
Exception {
6
private
final
DatapathId dpId;
7
8
public
SwitchOperationException
(DatapathId dpId) {
9
this
(dpId,
"Switch manipulation has failed"
);
10
}
11
12
public
SwitchOperationException
(DatapathId dpId, String message) {
13
super(message);
14
this.dpId = dpId;
15
}
16
17
public
DatapathId
getDpId
() {
18
return
dpId;
19
}
20
}
org.openkilda.floodlight.switchmanager.SwitchOperationException.getDpId
DatapathId getDpId()
Definition:
SwitchOperationException.java:17
org
org.openkilda.floodlight.switchmanager.SwitchOperationException
Definition:
SwitchOperationException.java:5
org.openkilda.floodlight.switchmanager.SwitchOperationException.SwitchOperationException
SwitchOperationException(DatapathId dpId, String message)
Definition:
SwitchOperationException.java:12
org.openkilda.floodlight.switchmanager.SwitchOperationException.SwitchOperationException
SwitchOperationException(DatapathId dpId)
Definition:
SwitchOperationException.java:8
open-kilda-develop
services
src
floodlight-modules
src
main
java
org
openkilda
floodlight
switchmanager
SwitchOperationException.java
Generated by
1.8.14