public final class SyntaxError extends PrologError
Constructor and Description |
---|
SyntaxError(String string)
Create a syntax error exception passing the prolog text where syntax error
take place.
|
SyntaxError(String string,
Throwable cause)
Create a syntax error exception passing the prolog text where syntax error
take place and the cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SyntaxError(String string)
string
- prolog text where syntax error take place.public SyntaxError(String string, Throwable cause)
string
- prolog text where syntax error take place.cause
- cause of the prolog error.Copyright © 2020–2024 Prolobjectlink Project. All rights reserved.