public static ArgumentException adaptPropertyException(PropertyException e,AbstractManagedObjectDefinition<?,?> d){
  return new ArgumentException(e.getMessageObject());
}

public static ArgumentException adaptPropertyException ( PropertyException e , AbstractManagedObjectDefinition < ? , ? > d ) { return new ArgumentException ( e . getMessageObject ( ) ) ; }
creates an argument exception from a property exception .
