Class RuntimeIgnoreException

  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by org.apache.axis2.testutils.RuntimeIgnoreException
All Implemented Interfaces:

public class RuntimeIgnoreException
extends Error

Indicates that a test case should be skipped. Throwing this exception allows to skip a test case dynamically at runtime. This is useful if a test case relies on some assumption that may not be true in all environments. Note that this only works if the appropriate test runner is configured.

It should also be noted that there are alternative techniques that may be more appropriate in some use cases:

See Also:
AllTestsWithRuntimeIgnore, JUnit38ClassRunnerWithRuntimeIgnore, Serialized Form

Constructor Summary
RuntimeIgnoreException(String message)
Method Summary
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


public RuntimeIgnoreException(String message)

Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.