declare namespace java {
    namespace rmi {
        namespace activation {
            // @ts-ignore
             class ActivateFailedException extends java.rmi.RemoteException {
                /**
                 * Constructs an <code>ActivateFailedException</code> with the specified
                 * detail message.
                 */
                // @ts-ignore
                constructor(s: string)
                /**
                 * Constructs an <code>ActivateFailedException</code> with the specified
                 * detail message and nested exception.
                 */
                // @ts-ignore
                constructor(s: string, ex: java.lang.Exception)
            }
        }
    }
}
