declare namespace java {
    namespace net {
        // @ts-ignore
         class BindException extends java.net.SocketException {
            /**
             * Constructs a new BindException with the specified detail
             * message as to why the bind error occurred.
             * A detail message is a String that gives a specific
             * description of this error.
             */
            // @ts-ignore
            constructor(msg: string)
            /**
             * Construct a new BindException with no detailed message.
             */
            // @ts-ignore
            constructor()
        }
    }
}
