Search This Blog

Total Pageviews

How to catch Java Script error: Can't find variable

<!DOCTYPE html>

<p id="JStrycatch"></p>

try {
jsalert("Java script error handling msg!");
catch(error) {
document.getElementById("JStrycatch").innerHTML = error.message;


No comments:

java.lang.IllegalArgumentException: Unsupported class file major version 60

- Check the stack trace and version of Java. - Update the correct Java Version to resolve the Exception.