How to stop or pause parsing and continue parsing using SAX2?.

I have tried the following ways:

1)throwing exceptions. It captured by ErrorHandler, but still parsing.
2)return fail, but this didn't work either.