Back to index

plone3  3.1.7
ValidationError.py
Go to the documentation of this file.
00001 class ValidationError(Exception):
00002 
00003     def __init__(self, controller_state, message=None):
00004         self.message = message
00005         self.controller_state = controller_state
00006 
00007     def __str__(self):
00008         return 'ValidationError: %s\nstate=%s' % (str(self.message), str(self.controller_state))