Added different return values in openPort function for Linux  when exception is:
 * IO Exception(13)-Access denied
 * IO Exception(16)-Resource busy
 * IO Exception(2)-No such file or directory