public StringWriter(int initialSize) {if (initialSize < 0) {throw new IllegalArgumentException();}buf = new StringBuffer(initialSize);lock = buf;}
public StringWriter(int initialSize){if (initialSize < 0){throw new System.ArgumentException();}buf = new java.lang.StringBuffer(initialSize);@lock = buf;}