au.id.jericho.lib.html
Class OverlappingOutputSegmentsException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byau.id.jericho.lib.html.OverlappingOutputSegmentsException
All Implemented Interfaces:
java.io.Serializable

public class OverlappingOutputSegmentsException
extends java.lang.RuntimeException

Signals that overlapping output segments have been detected in the OutputDocument.

This exception is only thrown when an attempt is made to generate the output of the OutputDocument.

See Also:
OutputDocument.toString(), OutputDocument.output(Writer), Serialized Form

Method Summary
 IOutputSegment[] getOverlappingOutputSegments()
          Returns the two overlapping output segments in an array.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getOverlappingOutputSegments

public IOutputSegment[] getOverlappingOutputSegments()
Returns the two overlapping output segments in an array.

Only the first two detected overlapping segments are returned, even if other overlapping segments were added to the OutputDocument.

Returns:
the two overlapping output segments in an array.