#!/usr/bin/python# -*- coding: utf-8 -*-## Copyright (C) 2015 by Christian Tremblay, P.Eng <christian.tremblay@servisys.com># Licensed under LGPLv3, see file LICENSE in this source tree.#"""IOExceptions.py - BAC0 application level exceptions """
[docs]classWritePropertyException(Exception):""" This exception is used when trying to write a property. """pass
[docs]classWritePropertyCastError(Exception):""" This exception is used when trying to write to a property and a cast error occurs. """pass
[docs]classOutOfServiceNotSet(Exception):""" This exception is used when trying to simulate a point and the out of service property is false. """pass
[docs]classOutOfServiceSet(Exception):""" This exception is used when trying to set the out of service property to false to release the simulation...and it doesn't work. """pass
[docs]classNetworkInterfaceException(Exception):""" This exception covers different network related exc eption (like finding IP or subnet mask...) """pass
[docs]classApplicationNotStarted(Exception):""" Application not started, no communication available. """pass
[docs]classBokehServerCantStart(Exception):""" Raised if Bokeh Server can't be started automatically """pass