if (t == null) return;
	public static void printStackTrace(Throwable t) {		t.printStackTrace(out);		Method[] methods = t.getClass().getMethods();		int size = methods.length;		Class throwable = Throwable.class;		for (int i = 0; i < size; i++) {			Method method = methods[i];			if (Modifier.isPublic(method.getModifiers()) && method.getName().startsWith("get") && throwable.isAssignableFrom(method.getReturnType()) && (method.getParameterTypes().length == 0)) { //$NON-NLS-1$				try {					Throwable nested = (Throwable) method.invoke(t, null);					if ((nested != null) && (nested != t)) {						out.println("Nested Exception:"); //$NON-NLS-1$						printStackTrace(nested);					}				} catch (IllegalAccessException e) {				} catch (InvocationTargetException e) {				}			}		}	}