com.hp.hpl.jena.shared
Class CannotEncodeCharacterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.hp.hpl.jena.shared.JenaException
                  extended by com.hp.hpl.jena.shared.CannotEncodeCharacterException
All Implemented Interfaces:
Serializable

public class CannotEncodeCharacterException
extends JenaException

Exception to throw when a character cannot be encoded into some context for some reason.

Author:
kers
See Also:
Serialized Form

Constructor Summary
CannotEncodeCharacterException(char badChar, String encodingContext)
           
 
Method Summary
 char getBadChar()
          Answer the character that could not be encoded.
 String getEncodingContext()
          Answer the name of the context in which the encoding failed.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CannotEncodeCharacterException

public CannotEncodeCharacterException(char badChar,
                                      String encodingContext)
Method Detail

getBadChar

public char getBadChar()
Answer the character that could not be encoded.


getEncodingContext

public String getEncodingContext()
Answer the name of the context in which the encoding failed.



Licenced under the Apache License, Version 2.0