Root > Reference > All Classes > TEurekaExceptionInfo > Properties > TEurekaExceptionInfo.Expected

Property TEurekaExceptionInfo.Expected

Previous pageReturn to chapter overviewNext page   

Indicates type of exception (expected).

 

Unit

EException

 

Value

True - this is expected exception.

 

False - this is normal/typical exception.

 

Remarks

This property indicates type of exception - expected or not.

 

Exceptions that do not represent a bug in your code are called "expected exceptions". You can mark any exception as expected via various methods. Please see this article for examples of each method.

 

You can set the .ExpectedContext or .ExpectedURL properties to set the Expected property to True.

 

When EurekaLog processes expected exception: it disables creation of bug report, send and restart features, as well as showing technical details (call stack, etc.). Basically, processing of expected exception will only show the exception message to the user and nothing else.

 

See also

SafeCallExpt property



Send feedback... Build date: 2023-09-11
Last edited: 2023-09-11
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.


Permanent link to this article: https://www.eurekalog.com/help/eurekalog/topic_property_eexception_teurekaexceptioninfo_expected.php