declare namespace java {
    namespace lang {
        // @ts-ignore
         class StackOverflowError extends java.lang.VirtualMachineError {
            /**
             * Constructs a <code>StackOverflowError</code> with no detail message.
             */
            // @ts-ignore
            constructor()
            /**
             * Constructs a <code>StackOverflowError</code> with the specified
             * detail message.
             */
            // @ts-ignore
            constructor(s: string)
        }
    }
}
