declare namespace org {
    namespace spongepowered {
        namespace api {
            namespace registry {
                // @ts-ignore
                 class RegistryException {
                    /**
                     * Creates a new {@link RegistryException}.
                     */
                    constructor()
                    /**
                     * Creates a new {@link RegistryException} with the provided {@code message}.
                     */
                    constructor(message: string)
                    /**
                     * Creates a new {@link RegistryException} with the provided {@code message}
                     * and propagated {@link Throwable cause}.
                     */
                    constructor(message: string, cause: any)
                    /**
                     * Creates a new {@link RegistryException} with the provided {@link Throwable cause}.
                     */
                    constructor(cause: any)
                }
            }
        }
    }
}
