package org.apereo.cas.configuration.model.core.authentication;

import java.util.ArrayList;
import java.util.List;

/**
 * This is {@link AuthenticationExceptionsProperties}.
 *
 * @author Misagh Moayyed
 * @since 5.0.0
 */

public class AuthenticationExceptionsProperties {
    private List<Class<? extends Exception>> exceptions = new ArrayList<>();

    public List<Class<? extends Exception>> getExceptions() {
        return exceptions;
    }

    public void setExceptions(final List<Class<? extends Exception>> exceptions) {
        this.exceptions = exceptions;
    }
}



package org.apereo.cas.configuration.model.core.authentication;

import java.util.ArrayList;
import java.util.List;

/**
 * This is {@link AuthenticationExceptionsProperties}.
 *
 * @author Misagh Moayyed
 * @since 5.0.0
 */

public class AuthenticationExceptionsProperties {
    private List exceptions = new ArrayList<>();

    public List getExceptions() {
        return exceptions;
    }

    public void setExceptions(final List exceptions) {
        this.exceptions = exceptions;
    }
}



--- 
+++ 
@@ -11,13 +11,13 @@
  */
 
 public class AuthenticationExceptionsProperties {
-    private List exceptions = new ArrayList<>();
+    private List<Class<? extends Exception>> exceptions = new ArrayList<>();
 
-    public List getExceptions() {
+    public List<Class<? extends Exception>> getExceptions() {
         return exceptions;
     }
 
-    public void setExceptions(final List exceptions) {
+    public void setExceptions(final List<Class<? extends Exception>> exceptions) {
         this.exceptions = exceptions;
     }
 }
Fix generic type enforcement for exceptions
