File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes error handling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "error handling" Watch "error handling" New topic
Author

error handling

joy thomas
Greenhorn

Joined: Jul 01, 2011
Posts: 5
kindly check what is the error in the following code..


try
{
adddlert("Welcome");
}
catch(err)
{
txt="There was an error on this page.\n\n";
txt+="Click OK to continue viewing this page,\n";
txt+="or Cancel to return to the home page.\n\n";
if(!confirm(txt))
{
document.location.href=www.move.com;
}
}
}
</script>
</head>

<body>
<input type="button" value="View message" onclick="message()" />
</body>

</html>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error handling
 
Similar Threads
Problem accessing the form object of a different frame
How do I download files?
input/output stream
Shell scripts find n replace the word in files
jvm error code