Error handling#
ItalaApiNET implements a custom exception set, which extends the basic .NET exception class.
ISystem systemOne = SystemFactory.Create();
try
{
ISystem systemTwo = SystemFactory.Create();
}
catch (Exception e)
{
//The creation of a second system instance without releasing the first one leads to an exception.
}
systemOne.Dispose();