SMILE.NET: SmileException
From DSL
Many of methods of SMILE.NET classes throw exceptions. SmileException class has been designed to make it possible to handle the library's exceptions in isolation from other exception classes.
Exception class is a superclass for SmileException.
Message property can be used to retrieve the exception message.
Usage example:
Network net = new Network();
try {
net.GetNode("A");
}
catch (SmileException e) {
Console.WriteLine(e.Message);
}
Methods
- SmileException(String message)
The constructor.