'OPTIONAL' is deprecated as an argument herald in a CATCH declaration; consider changing it.

#2536   Compile-time warning

'OPTIONAL' is deprecated as an argument herald in a CATCH declaration; consider changing it.

Explanation

The use of the keyword optional as an argument herald in a catch declaration may be removed in a future version of the language to allow the specification of optional catch arguments.