PortUnavailableException

class PortUnavailableException(val port: Int, cause: Throwable? = null) : IOException

Thrown when the server cannot bind to the requested port because it is already in use.

Parameters

port

the port that could not be bound

cause

the underlying binding failure, if any

See also

Constructors

Link copied to clipboard
constructor(port: Int, cause: Throwable? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard
val port: Int