Package edu.harvard.hul.ois.jhove
Class ErrorMessage
java.lang.Object
edu.harvard.hul.ois.jhove.Message
edu.harvard.hul.ois.jhove.ErrorMessage
This class encapsulates an error message from a Module, representing
a problem in the content being analyzed.
-
Field Summary
Fields inherited from class edu.harvard.hul.ois.jhove.Message
jhoveMessage, NULL, offset, prefix, subMessage -
Constructor Summary
ConstructorsConstructorDescriptionErrorMessage(JhoveMessage message) Creates an ErrorMessage with an identifier.ErrorMessage(JhoveMessage message, long offset) Creates an ErrorMessage with an identifier.ErrorMessage(JhoveMessage message, String subMessage) Creates an ErrorMessage with an identifier.ErrorMessage(JhoveMessage message, String subMessage, long offset) Creates an ErrorMessage with an identifier. -
Method Summary
Methods inherited from class edu.harvard.hul.ois.jhove.Message
equals, getId, getJhoveMessage, getMessage, getOffset, getPrefix, getSubMessage, hashCode, toString
-
Constructor Details
-
ErrorMessage
Creates an ErrorMessage with an identifier.- Parameters:
message- The message text and its identifier.
-
ErrorMessage
Creates an ErrorMessage with an identifier.- Parameters:
message- The message text and its identifier.offset- The offset in the file at which the problem was detected.
-
ErrorMessage
Creates an ErrorMessage with an identifier.- Parameters:
message- The message text and its identifier.subMessage- Human-readable additional information.
-
ErrorMessage
Creates an ErrorMessage with an identifier.- Parameters:
message- The message text and its identifier.subMessage- Human-readable additional information.offset- The offset in the file at which the problem was detected.
-