| Home | Trees | Index | Help |
|
|---|
| Package Modeling :: Module ModelValidation :: Class ModelValidationException |
|
Exception --+
|
ModelValidationException
| Method Summary | |
|---|---|
Initializes the exception, possibly with supplied object, level and msg | |
Returns the receiver's dictionary | |
Returns a string representation of the exception | |
Adds the supplied error type in the exception's dictionary | |
Concatenates the supplied ModelValidationException to the current one. | |
Returns the list of objects for which errors were detected | |
Returns the error dictionary | |
Returns the error dictionary | |
Finalize a validation process. | |
has_errors(self,
for_level)
| |
levels_of_errors(self)
| |
| Inherited from Exception | |
| |
| Method Details |
|---|
__init__(self,
object=None,
level=None,
msg=None,
ignore_levels=None)
|
__call__(self)
Returns the receiver's dictionary |
__str__(self)
Returns a string representation of the exception |
aggregateError(self, object, level, msgs)Adds the supplied error type in the exception's dictionary |
aggregateException(self, aModelValidationError)Concatenates the supplied ModelValidationException to the current one. |
errorObjects(self)Returns the list of objects for which errors were detected |
errors(self)Returns the error dictionary |
errorsDict(self)Returns the error dictionary |
finalize(self)Finalize a validation process. If the exception has a non-empty errorsDict it raises, otherwise simply return |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sat Mar 4 13:36:27 2006 | http://epydoc.sf.net |