org.netbeans.junit
Class AssertionFileFailedError

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Error
              |
              +--junit.framework.AssertionFailedError
                    |
                    +--org.netbeans.junit.AssertionFileFailedError
All Implemented Interfaces:
java.io.Serializable

public class AssertionFileFailedError
extends junit.framework.AssertionFailedError

Error thrown from assertFile file functions. It describes the failure and holds the name of result of the file comapre process. Generally, the error description should contain names of compared files.

Version:
1.0
Author:
vstejskal
See Also:
Serialized Form

Field Summary
protected  java.lang.String diffFile
           
 
Constructor Summary
AssertionFileFailedError(java.lang.String diffFile)
          Creates new AssertionFileFailedError
AssertionFileFailedError(java.lang.String message, java.lang.String diffFile)
          Creates new AssertionFileFailedError
 
Method Summary
 java.lang.String getDiffFile()
           
 
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

diffFile

protected java.lang.String diffFile
Constructor Detail

AssertionFileFailedError

public AssertionFileFailedError(java.lang.String diffFile)
Creates new AssertionFileFailedError

Parameters:
diffFile - Fully-qualified name of the file containing differences (result of the file-diff).

AssertionFileFailedError

public AssertionFileFailedError(java.lang.String message,
                                java.lang.String diffFile)
Creates new AssertionFileFailedError

Parameters:
message - The error description menssage.
diffFile - Fully-qualified name of the file containing differences (result of the file-diff).
Method Detail

getDiffFile

public java.lang.String getDiffFile()