SdkConfigurationException
public class SdkConfigurationException : OptrisSdkException
A configuration or parameter value was rejected.
Deliberately not sealed: ConfigurationLoadException derives from it, so catch (SdkConfigurationException) around an import keeps catching what it always caught and code that wants the import's report catches the narrower type instead.
Example
try { camera.AddRegion(Region.Ring(new Vector2(0.5f, 0.4f), 0.1f, 0.2f)); } catch (SdkConfigurationException error) { Console.Error.WriteLine(error.Message); // inner >= outer }
SdkConfigurationException: constructors
public SdkConfigurationException(string message)
Create the exception.
message: What went wrong.
public SdkConfigurationException(string message, int status)
Create the exception with its native status.
message: What went wrong.status: The native status code.