站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

AssertionKnownBugError (NB JUnit) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.nbjunit/1 1.41

org.netbeans.junit
Class AssertionKnownBugError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by junit.framework.AssertionFailedError
              extended by org.netbeans.junit.AssertionKnownBugError
All Implemented Interfaces:
Serializable

public class AssertionKnownBugError
extends junit.framework.AssertionFailedError

Error thrown in case of test failed by known bug. It describes the failure and holds the bug ID number.

See Also:
Serialized Form

Field Summary
protected  int bugID
           
 
Constructor Summary
AssertionKnownBugError(int bugID)
          Creates new AssertionKnownBugError
AssertionKnownBugError(int bugID, String message)
          Creates new AssertionKnownBugError
 
Method Summary
 int getBugID()
          Returnes bug ID number
 
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
 

Field Detail

bugID

protected int bugID
Constructor Detail

AssertionKnownBugError

public AssertionKnownBugError(int bugID)
Creates new AssertionKnownBugError

Parameters:
bugID - The bug number according bug report system.

AssertionKnownBugError

public AssertionKnownBugError(int bugID,
                              String message)
Creates new AssertionKnownBugError

Parameters:
bugID - The bug number according bug report system.
message - The error description message.
Method Detail

getBugID

public int getBugID()
Returnes bug ID number

Returns:
bugID The bug number according bug report system.

org.netbeans.modules.nbjunit/1 1.41

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.