org.daisy.zedval.engine
Class TestProcessorErrMsg

java.lang.Object
  extended byorg.daisy.zedval.engine.ZedMessage
      extended byorg.daisy.zedval.engine.ErrorMessage
          extended byorg.daisy.zedval.engine.TestProcessorErrMsg

public class TestProcessorErrMsg
extends ErrorMessage

A TestProcessorErrMsg object represents an error message from a ZedTestProcessor

Author:
James Pritchett

Field Summary
 
Fields inherited from class org.daisy.zedval.engine.ZedMessage
DETAIL, LONG, SHORT
 
Constructor Summary
TestProcessorErrMsg(java.lang.String details, java.lang.String lang, boolean fatal, ZedFile f, ZedTestProcessor ztp)
           
TestProcessorErrMsg(java.lang.String details, java.lang.String lang, boolean fatal, ZedTestProcessor ztp)
           
 
Method Summary
 ZedFile getFile()
          Returns ZedFile that generated the error
 ZedTestProcessor getProcessor()
          Returns ZedTestProcessor that generated the error
 java.lang.String toString()
           
 
Methods inherited from class org.daisy.zedval.engine.ErrorMessage
isFatal
 
Methods inherited from class org.daisy.zedval.engine.ZedMessage
getLanguage, getText, getType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestProcessorErrMsg

public TestProcessorErrMsg(java.lang.String details,
                           java.lang.String lang,
                           boolean fatal,
                           ZedFile f,
                           ZedTestProcessor ztp)
Parameters:
details - Any extended details about the message
lang - The language of the message
fatal - Is this a fatal error?
f - The ZedFile that generated the error
ztp - The ZedTestProcessor that generated the error

TestProcessorErrMsg

public TestProcessorErrMsg(java.lang.String details,
                           java.lang.String lang,
                           boolean fatal,
                           ZedTestProcessor ztp)
Parameters:
details - Any extended details about the message
lang - The language of the message
fatal - Is this a fatal error?
ztp - The ZedTestProcessor that generated the error
Method Detail

getFile

public ZedFile getFile()
Returns ZedFile that generated the error

Returns:
ZedFile that generated the error

getProcessor

public ZedTestProcessor getProcessor()
Returns ZedTestProcessor that generated the error

Returns:
ZedTestProcessor that generated the error

toString

public java.lang.String toString()
Overrides:
toString in class ErrorMessage