You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
869 B
56 lines
869 B
/*
|
|
* Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
|
|
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*/
|
|
|
|
package java.net;
|
|
|
|
import java.io.IOException;
|
|
|
|
/**
|
|
* Thrown to indicate that there is an error creating or accessing a Socket.
|
|
*
|
|
* @author Jonathan Payne
|
|
* @since JDK1.0
|
|
*/
|
|
public
|
|
class SocketException extends IOException {
|
|
private static final long serialVersionUID = -5935874303556886934L;
|
|
|
|
/**
|
|
* Constructs a new {@code SocketException} with the
|
|
* specified detail message.
|
|
*
|
|
* @param msg the detail message.
|
|
*/
|
|
public SocketException(String msg) {
|
|
super(msg);
|
|
}
|
|
|
|
/**
|
|
* Constructs a new {@code SocketException} with no detail message.
|
|
*/
|
|
public SocketException() {
|
|
}
|
|
}
|