public class QoSException
extends java.io.IOException
ConnectionOption
s cannot be fulfilled when establishing
the connection, or cannot be fulfilled anymore for an existing connection.
(See
the description of QoS parameters in the package summary of
javax.microedition.io
for details.)
Although QoSException
is a subclass of
java.io.IOException
, applications are recommended to handle
QoSException
s in a particular manner, as it does not mean that the
connection is broken. The author of the application has to decide if - once
the QoS parameters cannot be satisfied (any more) - it makes sense to continue
the connection, reestablish it later or decide to reduce the volume of the
data to be transmitted.
Constructor and Description |
---|
QoSException()
Constructs a new
QoSException with no detail
message. |
QoSException(java.lang.String message)
Constructs a new
QoSException with the specified
detail message. |
Copyright (c) 2013, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.