aboutsummaryrefslogtreecommitdiff
path: root/sync/src/main/scala/akka/serial/exceptions.scala
blob: 26dfcebe86d8121a36dff6b9d924f59fdfae40e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package akka.serial

/** The requested port could not be found. */
class NoSuchPortException(message: String) extends Exception(message)

/** The requested port is in use by someone else. */
class PortInUseException(message: String) extends Exception(message)

/** Permissions are not sufficient to open a serial port. */
class AccessDeniedException(message: String) extends Exception(message)

/** The settings specified are invalid. */
class InvalidSettingsException(message: String) extends Exception(message)

/** A blocking operation on a port was interrupted, most likely indicating that the port is closing. */
class PortInterruptedException(message: String) extends Exception(message)

/** The specified port has been closed. */
class PortClosedException(message: String) extends Exception(message)