Module scenariogeneration.xosc.exceptions
scenariogeneration https://github.com/pyoscx/scenariogeneration
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
Copyright (c) 2022 The scenariogeneration Authors.
Classes
class NoActionsDefinedError (*args, **kwargs)-
Expand source code
class NoActionsDefinedError(Exception): """Raised when no actions are defined in a class."""Raised when no actions are defined in a class.
Ancestors
- builtins.Exception
- builtins.BaseException
class NoCatalogFoundError (*args, **kwargs)-
Expand source code
class NoCatalogFoundError(Exception): """Raised when no catalog is found with the given name."""Raised when no catalog is found with the given name.
Ancestors
- builtins.Exception
- builtins.BaseException
class NotAValidElement (*args, **kwargs)-
Expand source code
class NotAValidElement(Exception): """Raised when one of the needed "optional" inputs are not used."""Raised when one of the needed "optional" inputs are not used.
Ancestors
- builtins.Exception
- builtins.BaseException
class NotEnoughInputArguments (*args, **kwargs)-
Expand source code
class NotEnoughInputArguments(Exception): """Raised when one of the needed "optional" inputs are not used."""Raised when one of the needed "optional" inputs are not used.
Ancestors
- builtins.Exception
- builtins.BaseException
class OpenSCENARIOVersionError (*args, **kwargs)-
Expand source code
class OpenSCENARIOVersionError(Exception): """Raised when trying to use features from a newer version of OpenSCENARIO than the desiered version."""Raised when trying to use features from a newer version of OpenSCENARIO than the desiered version.
Ancestors
- builtins.Exception
- builtins.BaseException
class ToManyOptionalArguments (*args, **kwargs)-
Expand source code
class ToManyOptionalArguments(Exception): """Raised when one of the needed "optional" inputs are not used."""Raised when one of the needed "optional" inputs are not used.
Ancestors
- builtins.Exception
- builtins.BaseException
class XMLStructureError (*args, **kwargs)-
Expand source code
class XMLStructureError(Exception): """Raised when the XML structure is not valid."""Raised when the XML structure is not valid.
Ancestors
- builtins.Exception
- builtins.BaseException