Skip to content

Commit

Permalink
Update openff/toolkit/utils/exceptions.py
Browse files Browse the repository at this point in the history
Co-authored-by: Lily Wang <31115101+lilyminium@users.noreply.github.com>
  • Loading branch information
mattwthompson and lilyminium authored Aug 12, 2021
1 parent e7d5edf commit a477843
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions openff/toolkit/utils/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,9 @@ class SMIRNOFFAromaticityError(OpenFFToolkitException):
"""


class _DeprecatedParseError(Exception):
class _DeprecatedParseError(_DeprecatedMessageException):
"""DEPRECATED: Error for when a SMIRNOFF data structure is not parseable by a ForceField"""

def __init__(self, msg):
super().__init__(msg)
self.msg = msg

def __str__(self):
return self.msg


class SMIRNOFFParseError(OpenFFToolkitException, _DeprecatedParseError):
"""
Expand Down

0 comments on commit a477843

Please sign in to comment.