You can buy this project and download/modify it how often you want.
Common classes for XML stuff. General exceptions are here for example.
General exceptions are here for example.