TransportUnavailableException.forPlatform constructor

TransportUnavailableException.forPlatform(
  1. String transport,
  2. String platform
)

Creates a TransportUnavailableException naming the transport that is unavailable and the platform it was requested on.

Produces a message of the form '$transport is not available on $platform platforms'.

Implementation

TransportUnavailableException.forPlatform(String transport, String platform)
  : this('$transport is not available on $platform platforms');