当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
AssertionKnownBugError (NB JUnit) - NetBeans API Javadoc (Current Development Version)
org.netbeans.junit
Class AssertionKnownBugError
java.lang.Object
java.lang.Throwable
java.lang.Error
junit.framework.AssertionFailedError
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
|
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 |
bugID
protected int bugID
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.
getBugID
public int getBugID()
- Returnes bug ID number
- Returns:
- bugID The bug number according bug report system.