throw new IllegalAccessException(cause);
} else if (exceptionType.equals("java.lang.reflect.InvocationTargetException")) {
if (cause.equals("java.lang.IllegalArgumentException")) {
throw new InvocationTargetException(new IllegalArgumentException());
} else if (cause.equals("aura.throwable.AuraHandledException")) {
throw new InvocationTargetException(new AuraHandledException(""));
}
} else if (exceptionType.equals("aura.throwable.AuraHandledException")) {
if (cause.equals("java.lang.IllegalArgumentException")) {
throw new AuraHandledException(new IllegalArgumentException());
} else {
throw new AuraHandledException(cause);
}
} else {
throw new RuntimeException();
}
}