Exception breakpoint with excluded sub-class
Answered
Hello guys.
Is there any way to create Exception breakpoint which will catch exceptions by class, but exclude one sub-class?
For example I want to create breakpoint to stop when SQLException is thrown, but do not stop when SQLFeatureNotSupportedException is thrown.
Please sign in to leave a comment.
use condition:
!(this instanceof SQLFeatureNotSupportedException)