declare namespace net {
    namespace md_5 {
        namespace bungee {
            namespace protocol {
                // @ts-ignore
                 class BadPacketException extends java.lang.RuntimeException {
                    // @ts-ignore
                    constructor(message: string)
                    // @ts-ignore
                    constructor(message: string, cause: java.lang.Throwable)
                }
            }
        }
    }
}
