} catch (InvocationTargetException e) {
if ( fDebug ){
System.out.println("!! The original error message is: " + e.getTargetException().getMessage() );
e.getTargetException().printStackTrace();
} else {
throw new InvalidDatatypeFacetException( e.getTargetException().getMessage() );
//System.out.println("Exception: " + e.getTargetException
//validator = null;
}
}
return validator;