com.sage.accpac.sm
Class InvalidCharacterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sage.accpac.sm.UncheckedCharacterCodingException
com.sage.accpac.sm.InvalidCharacterException
- All Implemented Interfaces:
- java.io.Serializable
@NotThreadSafe
public class InvalidCharacterException
- extends UncheckedCharacterCodingException
Thrown when a character is found that is not mappable to an underlying
character set. For example trying to put a field containing an Oriental
character into a database that is set up only to accept European characters
will result in this being thrown.
This is basically equivalent to an
UnmappableCharacterException
except it is unchecked
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidCharacterException
public InvalidCharacterException()
- constructs an instance of the
InvalidCharacterException
class
InvalidCharacterException
public InvalidCharacterException(java.lang.String s,
int position,
java.lang.String charsetName)
- creates an instance of the
InvalidCharacterException
noting the
invalid string and the position of the invalid character.
- Parameters:
s
- the string that contains the invalid characterposition
- the position within the string where the invalid character
beginscharsetName
- the name of the character set that the character is invalid in
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable
Copyright © 2011 Sage Software, Inc. All rights reserved.