Package org.eclipse.cdt.core.parser
Class EndOfFileException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.cdt.core.parser.EndOfFileException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OffsetLimitReachedException
- See Also:
- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
Constructor Summary
ConstructorDescriptionEndOfFileException
(int offset) EndOfFileException
(int offset, boolean endsInactiveCode) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns the offset at which the translation unit ends, or -1 if not known.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EndOfFileException
public EndOfFileException(int offset) - Since:
- 5.2
-
EndOfFileException
public EndOfFileException(int offset, boolean endsInactiveCode) - Since:
- 5.2
-
-
Method Details
-
endsInactiveCode
public boolean endsInactiveCode()- Since:
- 5.1
-
getEndOffset
public int getEndOffset()Returns the offset at which the translation unit ends, or -1 if not known.- Since:
- 5.2
-