src/java.base/share/classes/java/net/NoRouteToHostException.java
changeset 57956 e0b8b019d2f5
parent 47216 71c04702a3d5
equal deleted inserted replaced
57955:18863bf3501f 57956:e0b8b019d2f5
     1 /*
     1 /*
     2  * Copyright (c) 1996, 2008, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    32  * if an intermediate router is down.
    32  * if an intermediate router is down.
    33  *
    33  *
    34  * @since   1.1
    34  * @since   1.1
    35  */
    35  */
    36 public class NoRouteToHostException extends SocketException {
    36 public class NoRouteToHostException extends SocketException {
       
    37     @java.io.Serial
    37     private static final long serialVersionUID = -1897550894873493790L;
    38     private static final long serialVersionUID = -1897550894873493790L;
    38 
    39 
    39     /**
    40     /**
    40      * Constructs a new NoRouteToHostException with the specified detail
    41      * Constructs a new NoRouteToHostException with the specified detail
    41      * message as to why the remote host cannot be reached.
    42      * message as to why the remote host cannot be reached.