package org.springframework.security.web.authentication.preauth;

import org.springframework.security.core.AuthenticationException;

public class PreAuthenticatedCredentialsNotFoundException extends AuthenticationException {

    public PreAuthenticatedCredentialsNotFoundException(String msg) {
        super(msg);
    }

}

@@ -316,10 +316,275 @@
 %0A    %7D%0A%0A
+    /**%0A     *%0A     * @param message The message for the Exception%0A     * @param cause The Exception that caused this Exception.%0A     */%0A    public PreAuthenticatedCredentialsNotFoundException(String message, Throwable cause) %7B%0A        super(message, cause);%0A    %7D%0A
 %7D%0A

Add constructor with caused by to PreAuthenticatedCredentialsNotFoundException