public static synchronized CoderResult unmappableForLength(int length)throws IllegalArgumentException {if (length > 0) {Integer key = Integer.valueOf(length);synchronized (_unmappableErrors) {CoderResult r = _unmappableErrors.get(key);if (r == null) {r = new CoderResult(TYPE_UNMAPPABLE_CHAR, length);_unmappableErrors.put(key, r);}return r;}}throw new IllegalArgumentException("Length must be greater than 0; was " + length);}

public static synchronized CoderResult unmappableForLength ( int length ) throws IllegalArgumentException { if ( length > 0 ) { Integer key = Integer . valueOf ( length ) ; synchronized ( _unmappableErrors ) { CoderResult r = _unmappableErrors . get ( key ) ; if ( r == null ) { r = new CoderResult ( TYPE_UNMAPPABLE_CHAR , length ) ; _unmappableErrors . put ( key , r ) ; } return r ; } } throw new IllegalArgumentException ( "Length must be greater than 0; was " + length ) ; }
public static java.nio.charset.CoderResult unmappableForLength(int length_1){lock (typeof(CoderResult)){if (length_1 > 0){int key = Sharpen.Util.IntValueOf(length_1);lock (_unmappableErrors){java.nio.charset.CoderResult r = _unmappableErrors.get(key);if (r == null){r = new java.nio.charset.CoderResult(TYPE_UNMAPPABLE_CHAR, length_1);_unmappableErrors.put(key, r);}return r;}}throw new System.ArgumentException("Length must be greater than 0; was " + length_1);}}
