1 7 8 package java.nio.charset; 9 10 11 18 19 public class UnmappableCharacterException 20 extends CharacterCodingException  21 { 22 23 private int inputLength; 24 25 public UnmappableCharacterException(int inputLength) { 26 this.inputLength = inputLength; 27 } 28 29 public int getInputLength() { 30 return inputLength; 31 } 32 33 public String getMessage() { 34 return "Input length = " + inputLength; 35 } 36 37 } 38 | Popular Tags |