Show/Hide Toolbars

Inventu Viewer+ .NET Programmer's Reference

Navigation: Exceptions

SCException

Scroll Prev Top Next More

 

Use SCException to catch a FSCProLib class exception.  The constructor information below is given for information purposes only - it should not be necessary to throw this exception yourself.

 

 

 

FSCProLib.SCException()

FSCProLib.SCException(string message)

FSCProLib.SCException(string message,

                         System.Exception innerException)

 

 

Arguments

 

message

 The message describing the exception.

innerException

 The exception that is the cause of the current exception.

 

Remarks

 

FSCProLib.SCException is derived from Application.Exception, which in turn is derived from System.Exception. The interface of SCException is identical to System.Exception. It is intended to handle exceptions specific to FSCProLib exceptions such as "no session active, unable to set property".

 

The SCRecogException class is meant to be used when handling screen transitioning. For example, in navigation code the exception can be caught and the unexpected screen dealt with in the appropriate manner, and in the "local" section of code. More serious errors can then be caught higher up in the hierarchy. The SCException can be used to catch more general errors. Finally, higher in the hierarchy a System.Exception can be caught, the error logged, and then a clean exit can be performed. At this stage any errors that could be dealt with cleanly should already have been dealt with which means that the error is something unknown and most likely fatal.

 

Requirements

 

Inventu Viewer+

 

See Also

 

Exceptions | SCRecogException | waitForScreen

 


© 2022 Inventu Corporation