1.50.39

interbase.interclient
Class CharacterEncodingException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.sql.SQLException
                    |
                    +--interbase.interclient.SQLException
                          |
                          +--interbase.interclient.CharacterEncodingException

public final class CharacterEncodingException
extends interbase.interclient.SQLException

An invalid character encoding was encountered in a string or character stream. This can occur while reading or writing to a CHAR, VARCHAR, or LONGVARCHAR (Blob) field which enforces a specific character encoding.

For example, this could occur if a JDBC application attempted to set a non-ASCII string to an ASCII field.

Although this exception generally indicates an application error, it is possible for this exception to occur due to some internal bug withing InterBase or InterServer such that the character encoding of a fixed-format character field becomes corrupted.

The error code associated with this exception is ErrorCodes.characterEncoding.

Since:
Extension, since 1.50
See Also:
Serialized Form

Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, setNextException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 


1.50.39

Send comments or suggestions to icsupport@interbase.com