## Uses of Class
gate.util.InvalidOffsetException

Packages that use InvalidOffsetException
gate
gate.annotation
gate.corpora
gate.email

Uses of InvalidOffsetException in gate

Methods in gate that throw InvalidOffsetException
`DocumentContent` `DocumentContent.getContent(Long start, Long end)` The contents under a particular span.
`void` `Document.edit(Long start, Long end, DocumentContent replacement)` Make changes to the content.
`void` `AnnotationSet.add(Integer id, Long start, Long end, String type, FeatureMap features)` Create and add an annotation with a pre-existing ID
`Integer` `AnnotationSet.add(Long start, Long end, String type, FeatureMap features)` Create and add an annotation and return its id

Uses of InvalidOffsetException in gate.annotation

Methods in gate.annotation that throw InvalidOffsetException
`Integer` `AnnotationSetImpl.add(Long start, Long end, String type, FeatureMap features)` Create and add an annotation and return its id
`void` `AnnotationSetImpl.add(Integer id, Long start, Long end, String type, FeatureMap features)` Create and add an annotation from database read data In this case the id is already known being previously fetched from the database
`void` `TestAnnotation.testOffsetIndex()` Test indexing by offset
`void` `TestAnnotation.testComplexGet()` Test complex get (with type, offset and feature contraints)
`void` `TestAnnotation._testGap()` Test get with offset and no annotation starting at given offset
`void` `TestAnnotation.testOverlapsAndCoextensive()` Test Overlaps
`void` `TestAnnotation.testIsPartiallyCompatibleAndCompatible()` Test Coextensive

Uses of InvalidOffsetException in gate.corpora

Methods in gate.corpora that throw InvalidOffsetException
`void` `DocumentImpl.edit(Long start, Long end, DocumentContent replacement)` Propagate edit changes to the document content and annotations.
`DocumentContent` `DocumentContentImpl.getContent(Long start, Long end)` The contents under a particular span.

Uses of InvalidOffsetException in gate.email

Methods in gate.email that throw InvalidOffsetException
`void` `EmailDocumentHandler.annotateMessages()` Reads the Gate Document line by line and does the folowing things: Each line is analized in order to detect where an e-mail starts.
`private void` `EmailDocumentHandler.createAnnotation(String anAnnotationName, long anAnnotationStart, long anAnnotationEnd, FeatureMap aFeatureMap)` This method creates a gate annotation given its name, start, end and feature map.