@@ -0,0 +1,1059 @@
+/*%0A %09(c) Copyright 2006 Hewlett-Packard Development Company, LP%0A %09All rights reserved.%0A %09$Id: CannotEncodeCharacterException.java,v 1.1 2006-09-12 10:40:52 chris-dollin Exp $%0A*/%0A%0Apackage com.hp.hpl.jena.shared;%0A%0A/**%0A    Exception to throw when a character cannot be encoded into some context%0A    for some reason.%0A    %0A    @author kers%0A*/%0Apublic class CannotEncodeCharacterException extends JenaException%0A    %7B%0A    protected final char badChar;%0A    protected final String encodingContext;%0A    %0A    public CannotEncodeCharacterException( char badChar, String encodingContext )%0A        %7B%0A        super( %22cannot encode (char) %22 + badChar + %22 in context %22 + encodingContext );%0A        this.badChar = badChar; %0A        this.encodingContext = encodingContext;%0A        %7D%0A%0A    /**%0A        Answer the character that could not be encoded.%0A    */%0A    public char getBadChar()%0A        %7B return badChar; %7D%0A%0A    /**%0A        Answer the name of the context in which the encoding failed.%0A    */%0A    public String getEncodingContext()%0A        %7B return encodingContext; %7D%0A    %7D%0A%0A

Add new exception class.