declare namespace java {
    namespace nio {
        // @ts-ignore
         class ReadOnlyBufferException extends java.lang.UnsupportedOperationException {
            /**
             * Constructs an instance of this class.
             */
            // @ts-ignore
            constructor()
        }
    }
}
