You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
try{foo()}catchSomeException{// catches only exceptions of type SomeException, doesn't provide a binding}catchOtherExceptionasexc{// catches only exceptions of type OtherException, provides a binding (exc)}catchexc{// catches all types of exceptions, provides a binding (exc)}catch{// catches all types of exceptions, doesn't provide a binding}
Could use the instanceof operation described in #64 to perform a typecheck at the beginning of the exception handler, then dispatch to correct handler.
The text was updated successfully, but these errors were encountered:
The following syntax should be possible
Could use the
instanceof
operation described in #64 to perform a typecheck at the beginning of the exception handler, then dispatch to correct handler.The text was updated successfully, but these errors were encountered: