Home Menu

try catch

try catch executes code that may throw an exception, and when the exception is caught, more code may be executed.

Syntax

try
{
    code
}
catch(exception)
{
    code
}

Examples

String

Value

Internal

else

else if

if

switch

External

Mozilla Developer Network

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms