public class OffsetLimitReachedException extends EndOfFileException
ORIGIN_LEXER: char-literal, string-literal, number-literal, header-name.
ORIGIN_PREPROCESSOR_DIRECTIVE: preprocessor-directive.
ORIGIN_INACTIVE_CODE: within an inactive branch of conditional compilation.
ORIGIN_MACRO_EXPANSION: within a macro-expansion.
| Modifier and Type | Field and Description |
|---|---|
static int |
ORIGIN_INACTIVE_CODE |
static int |
ORIGIN_LEXER |
static int |
ORIGIN_MACRO_EXPANSION |
static int |
ORIGIN_PREPROCESSOR_DIRECTIVE |
static int |
ORIGIN_UNKNOWN |
| Constructor and Description |
|---|
OffsetLimitReachedException(int origin,
IToken lastToken) |
| Modifier and Type | Method and Description |
|---|---|
IToken |
getFinalToken() |
int |
getOriginator()
Returns one of ORIGIN_...
|
endsInactiveCode, getEndOffsetaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int ORIGIN_UNKNOWN
public static final int ORIGIN_LEXER
public static final int ORIGIN_PREPROCESSOR_DIRECTIVE
public static final int ORIGIN_INACTIVE_CODE
public static final int ORIGIN_MACRO_EXPANSION
public OffsetLimitReachedException(int origin,
IToken lastToken)
public int getOriginator()
public IToken getFinalToken()
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.