net.sourceforge.jwebunit.exception
Class UnexpectedJavascriptAlertException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sourceforge.jwebunit.exception.UnexpectedJavascriptAlertException
All Implemented Interfaces:
java.io.Serializable

public class UnexpectedJavascriptAlertException
extends java.lang.RuntimeException

A Javascript alert was displayed but not expected.

Author:
Julien Henry
See Also:
Serialized Form

Constructor Summary
UnexpectedJavascriptAlertException(java.lang.String message)
           
 
Method Summary
 java.lang.String getAlertMessage()
          Return the message in the unexpected alert
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnexpectedJavascriptAlertException

public UnexpectedJavascriptAlertException(java.lang.String message)
Method Detail

getAlertMessage

public java.lang.String getAlertMessage()
Return the message in the unexpected alert



Copyright © 2002-2011 SourceForge. All Rights Reserved.