Package org.qdl_lang.exceptions
Class ParsingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- edu.uiuc.ncsa.security.core.exceptions.GeneralException
-
- org.qdl_lang.exceptions.QDLException
-
- org.qdl_lang.exceptions.ParsingException
-
- All Implemented Interfaces:
Serializable
public class ParsingException extends QDLException
Created by Jeff Gaynor
on 1/29/20 at 3:00 PM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
AMBIGUOUS_TYPE
static String
MISMATCH_TYPE
static String
SYNTAX_TYPE
-
Constructor Summary
Constructors Constructor Description ParsingException()
ParsingException(String message)
ParsingException(String message, int lineNumber, int characterPosition, int endCharacterPosition, String type)
ParsingException(String message, int lineNumber, int characterPosition, String type)
ParsingException(String message, Throwable cause)
ParsingException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCharacterPosition()
int
getEndCharacterPosition()
int
getLineNumber()
String
getScriptName()
String
getType()
boolean
hasScriptName()
void
setCharacterPosition(int characterPosition)
void
setEndCharacterPosition(int endCharacterPosition)
void
setLineNumber(int lineNumber)
void
setScriptName(String scriptName)
void
setType(String type)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
SYNTAX_TYPE
public static final String SYNTAX_TYPE
- See Also:
- Constant Field Values
-
AMBIGUOUS_TYPE
public static final String AMBIGUOUS_TYPE
- See Also:
- Constant Field Values
-
MISMATCH_TYPE
public static final String MISMATCH_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ParsingException
public ParsingException(String message, int lineNumber, int characterPosition, String type)
-
ParsingException
public ParsingException(String message, int lineNumber, int characterPosition, int endCharacterPosition, String type)
-
ParsingException
public ParsingException()
-
ParsingException
public ParsingException(Throwable cause)
-
ParsingException
public ParsingException(String message)
-
-
Method Detail
-
getLineNumber
public int getLineNumber()
-
setLineNumber
public void setLineNumber(int lineNumber)
-
getCharacterPosition
public int getCharacterPosition()
-
setCharacterPosition
public void setCharacterPosition(int characterPosition)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getEndCharacterPosition
public int getEndCharacterPosition()
-
setEndCharacterPosition
public void setEndCharacterPosition(int endCharacterPosition)
-
hasScriptName
public boolean hasScriptName()
-
getScriptName
public String getScriptName()
-
setScriptName
public void setScriptName(String scriptName)
-
-