private boolean isGlobalException(Class<?> exceptionClass) {
		return RuntimeException.class.isAssignableFrom(exceptionClass)
				|| exceptionClass.isAssignableFrom(Exception.class)
				|| Error.class.isAssignableFrom(exceptionClass);
	}
Is unchecked exception boolean.

@param exceptionClass the exception class
@return the boolean
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/service/GenericResponseService.java