com.sage.accpac.sm
Class DamagedStringException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sage.accpac.sm.UncheckedCharacterCodingException
                  extended by com.sage.accpac.sm.DamagedStringException
All Implemented Interfaces:
java.io.Serializable

public class DamagedStringException
extends UncheckedCharacterCodingException

The DamagedStringException class is an unchecked equivalent to the MalformedInputException. It indicates that at the given location in the given string the characters of the string are not well-formed.

See Also:
Serialized Form

Constructor Summary
DamagedStringException(java.lang.String s, int position)
           
 
Method Summary
 
Methods inherited from class com.sage.accpac.sm.UncheckedCharacterCodingException
getPosition, getString
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DamagedStringException

public DamagedStringException(java.lang.String s,
                              int position)
Parameters:
s - the damaged string
position - the position within the string where the first damage is seen


Copyright © 2011 Sage Software, Inc. All rights reserved.