public String getExceptionClassSimpleName(final Throwable ex) {
        return ex.getClass().getSimpleName();
    }
Gets exception class simple name.

@param ex the ex
@return the exception class simple name
support/cas-server-support-thymeleaf-core/src/main/java/org/apereo/cas/services/web/CasThymeleafTemplatesDirector.java