src/java.base/share/classes/java/nio/channels/DatagramChannel.java
changeset 59227 46084917fde7
parent 59089 de56632f796d
equal deleted inserted replaced
59226:a0f39cc47387 59227:46084917fde7
   401      *
   401      *
   402      * @return  The datagram's source address,
   402      * @return  The datagram's source address,
   403      *          or {@code null} if this channel is in non-blocking mode
   403      *          or {@code null} if this channel is in non-blocking mode
   404      *          and no datagram was immediately available
   404      *          and no datagram was immediately available
   405      *
   405      *
       
   406      * @throws  IllegalArgumentException
       
   407      *          If the buffer is read-only
       
   408      *
   406      * @throws  ClosedChannelException
   409      * @throws  ClosedChannelException
   407      *          If this channel is closed
   410      *          If this channel is closed
   408      *
   411      *
   409      * @throws  AsynchronousCloseException
   412      * @throws  AsynchronousCloseException
   410      *          If another thread closes this channel
   413      *          If another thread closes this channel