com.hp.hpl.jena.shared
Class CannotEncodeCharacterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hp.hpl.jena.shared.JenaException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CannotEncodeCharacterException
public CannotEncodeCharacterException(char badChar,
String encodingContext)
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