Created
February 26, 2019 06:32
-
-
Save egealpay/a9f3e1768e18e4a7bb1abec96d87f460 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class LocalPort { | |
| private ACMEPort innerPort; | |
| public LocalPort(int portNumber) { | |
| innerPort = new ACMEPort(portNumber); | |
| } | |
| public void open() { | |
| try { | |
| innerPort.open(); | |
| } catch (DeviceResponseException e) { | |
| throw new PortDeviceFailure(e); | |
| } catch (ATM1212UnlockedException e) { | |
| throw new PortDeviceFailure(e); | |
| } catch (GMXError e) { | |
| throw new PortDeviceFailure(e); | |
| } | |
| } | |
| … | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment