Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

version upgrade, what replaced TokenMgrError? #1490

Answered by wumpz
bdavis-tc asked this question in Q&A
Discussion options

In version 1.0 my code used this datatype in a try catch
net.sf.jsqlparser.parser.TokenMgrError

Now that I've upgraded to version 4.2 I'm curious if there is a new class that replaced this. For now I can catch it as a generic Error.

I think it may have been removed between 1.0 and 1.2

You must be logged in to vote

This class is generated by JavaCC using the old template. Using the modern template of JavaCC the class generated is TokenMgrException. I think you could be right that between 1.0 and 1.2 we switched to the modern Java generation template.

Replies: 1 comment

Comment options

This class is generated by JavaCC using the old template. Using the modern template of JavaCC the class generated is TokenMgrException. I think you could be right that between 1.0 and 1.2 we switched to the modern Java generation template.

You must be logged in to vote
0 replies
Answer selected by manticore-projects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /