public IConstraints1 Create( ImmutableList <IConstraints1ConstraintElement> value) { IConstraints1 constraint = null; try { constraint = new Constraints1( value); } catch (Exception exception) { this.Log.Error("Exception message: " + exception.Message + " and stacktrace " + exception.StackTrace); } return(constraint); }
public IConstraints1 Create( ImmutableList <IConstraints1ConstraintElement> value) { IConstraints1 constraint = null; try { constraint = new Constraints1( value); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(constraint); }