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