Commit f5df12e8 authored by Jason Swails's avatar Jason Swails
Browse files

Add base exception classes.

parent bdbb6cb3
......@@ -7,6 +7,12 @@ Contributors:
Date: April 9, 2014
"""
class CharmmError(Exception):
""" Base class for all exceptions raised in this package """
class CharmmWarning(Warning):
""" Base class for all warnings emitted in this package """
class CharmmPSFError(CharmmError):
""" If there is a problem parsing CHARMM PSF files """
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment