Class<? extends DBusExecutionException> c = (Class<? extends DBusExecutionException>) createExceptionClass(type);
Class<? extends DBusExecutionException> c = createExceptionClass(type);
   public DBusExecutionException getException()   {      try {         Class<? extends DBusExecutionException> c = (Class<? extends DBusExecutionException>) createExceptionClass(type);         if (null == c) c = DBusExecutionException.class;         Constructor<? extends DBusExecutionException> con = c.getConstructor(String.class);         DBusExecutionException ex;         if (null == parameters || 0 == parameters.length)            ex = con.newInstance("");         else {            String s = "";            for (Object o: parameters)               s += o + " ";            ex = con.newInstance(s.trim());         }         ex.setType(type);         return ex;      } catch (Exception e) {         DBusExecutionException ex;         if (null == parameters || 0 == parameters.length)            ex = new DBusExecutionException("");         else {            String s = "";            for (Object o: parameters)               s += o + " ";            ex = new DBusExecutionException(s.trim());         }         ex.setType(type);         return ex;      }   }