declare namespace java {
    namespace security {
        namespace spec {
            // @ts-ignore
             class InvalidParameterSpecException extends java.security.GeneralSecurityException {
                /**
                 * Constructs an InvalidParameterSpecException with no detail message. A
                 * detail message is a String that describes this particular
                 * exception.
                 */
                // @ts-ignore
                constructor()
                /**
                 * Constructs an InvalidParameterSpecException with the specified detail
                 * message. A detail message is a String that describes this
                 * particular exception.
                 */
                // @ts-ignore
                constructor(msg: string)
            }
        }
    }
}
