public class MEXParseException extends IRuntimeException
This exception is intended to provide detailed context about the syntax failure,
including the specific clause, the expected syntax rule, and the pattern that failed to match.
Unlike MEXUnavailableException, this indicates a permanent error in the input string structure.
| Constructor and Description |
|---|
MEXParseException(java.lang.CharSequence message,
java.lang.String syntaxExpected,
java.util.regex.Pattern pattern)
Constructs a new MEXParseException.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.regex.Pattern |
getOffendingPattern()
Retrieves the regular expression pattern that failed to match the expression content.
|
java.lang.String |
getSyntaxExpected()
Retrieves the description of the syntax rule that was expected but violated by the expression.
|
createFromStackTraceString, dumpJVMStack, dumpJVMStack, dumpStack, dumpStack, dumpStack, filterAndDumpStackTrace, filterStackTrace, filterStackTrace, getAllCauses, getCause, getCauseMethod, getCauseOfClass, getDeepestCauseOfClass, getErrortext, getErrortext, getRootCause, getStackTraceAsString, getStackTraceAsString, getStackTraceAsString, getStackTraceAsString, getStackTraceAsString, getStackTraceAsString, getStackTraceElement, getStackTraceElement, hasCauseOfClass, isKnownWrapperException, ofStackTraceString, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTraceAsCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCauseOfClass, getDeepestCauseOfClass, getRootCause, getThisAsThrowable, hasCauseOfClass, printStackTracepublic MEXParseException(@NotNull
java.lang.CharSequence message,
@NotNull
java.lang.String syntaxExpected,
@NotNull
java.util.regex.Pattern pattern)
message - The error message detailing the parse failure.syntaxExpected - A clear, human-readable description of the expected syntax or rule that was violated.pattern - The Pattern object that failed to match the clause.public java.lang.String getSyntaxExpected()
public java.util.regex.Pattern getOffendingPattern()
Pattern instance, or null if the syntax check was non-regex based.Copyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.