com.getsnappy.snappyj
Class DefaultJavaScriptErrorHandler

java.lang.Object
  extended by com.getsnappy.snappyj.JavaScriptErrorHandler
      extended by com.getsnappy.snappyj.DefaultJavaScriptErrorHandler

public class DefaultJavaScriptErrorHandler
extends JavaScriptErrorHandler


Constructor Summary
DefaultJavaScriptErrorHandler()
           
 
Method Summary
 void jsFunctionDefinition(java.io.Writer out)
          Used the define what happens when an unexpected condition occurs This must output a function definition that takes a single string and does some sort of JavaScript action to alert the user that an error w20.errorHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultJavaScriptErrorHandler

public DefaultJavaScriptErrorHandler()
Method Detail

jsFunctionDefinition

public void jsFunctionDefinition(java.io.Writer out)
                          throws java.io.IOException
Description copied from class: JavaScriptErrorHandler
Used the define what happens when an unexpected condition occurs This must output a function definition that takes a single string and does some sort of JavaScript action to alert the user that an error w20.errorHandler

Specified by:
jsFunctionDefinition in class JavaScriptErrorHandler
Throws:
java.io.IOException