Class CannotHandleException

  • All Implemented Interfaces:
    java.io.Serializable

    @API(type=NOT_EXTENDABLE,
         src=PUBLIC)
    public class CannotHandleException
    extends java.lang.Exception
    Thrown when an algorithm cannont handle the documents it is supposed to diff. For example the XML Diff algorithms cannot handle not well formed documents.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CannotHandleException​(java.lang.String message, java.lang.String systemId)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getSystemId()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • CannotHandleException

        public CannotHandleException​(java.lang.String message,
                                     java.lang.String systemId)
        Constructor.
        Parameters:
        message - The message.
        systemId - The system ID of the file that cannot be handled.
    • Method Detail

      • getSystemId

        public java.lang.String getSystemId()
        Returns:
        Returns the system ID of the file that cannot be handled. Can be null in soome cases.