ClientProxyGenerator - handle thrown exception types correctly
Currently, we only expect a `ClassType`: https://github.com/quarkusio/quarkus/blob/0.22.0/independent-projects/arc/processor/src/main/java/io/quarkus/arc/processor/ClientProxyGenerator.java#L100


diff --git a/independent-projects/arc/processor/src/main/java/io/quarkus/arc/processor/ClientProxyGenerator.java b/independent-projects/arc/processor/src/main/java/io/quarkus/arc/processor/ClientProxyGenerator.java
index 4079941d1af..29f0e8172a5 100644
--- a/independent-projects/arc/processor/src/main/java/io/quarkus/arc/processor/ClientProxyGenerator.java
+++ b/independent-projects/arc/processor/src/main/java/io/quarkus/arc/processor/ClientProxyGenerator.java
@@ -98,13 +98,7 @@ Collection<Resource> generate(BeanInfo bean, String beanClassName, ReflectionReg
 
             // Exceptions
             for (Type exception : method.exceptions()) {
-                if (exception.kind() == Type.Kind.CLASS) {
-                    forward.addException(exception.asClassType().toString());
-                } else if (exception.kind() == Type.Kind.TYPE_VARIABLE) {
-                    forward.addException(exception.asTypeVariable().bounds().get(0).asClassType().toString());
-                } else {
-                    throw new IllegalArgumentException("Unknown exception type " + exception);
-                }
+                forward.addException(exception.toString());
             }
             // Method params
             ResultHandle[] params = new ResultHandle[method.parameters().size()];
['independent-projects/arc/processor/src/main/java/io/quarkus/arc/processor/ClientProxyGenerator.java']