Docmosis API 4.5.0

com.docmosis.template.analysis
Class MessageAndSuggestions

java.lang.Object
  extended bycom.docmosis.template.analysis.MessageAndSuggestions

public class MessageAndSuggestions
extends Object

A container for an error message and possibly suggestions to assist resolving it.


Constructor Summary
MessageAndSuggestions(String message, String[] suggestions)
           
 
Method Summary
 String getMessage()
          Get the message indicating an issue
 String[] getSuggestions()
          Get any suggestions which may help resolve the problem
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageAndSuggestions

public MessageAndSuggestions(String message,
                             String[] suggestions)
Method Detail

getMessage

public String getMessage()
Get the message indicating an issue

Returns:
the message

getSuggestions

public String[] getSuggestions()
Get any suggestions which may help resolve the problem

Returns:
null if no suggestions are available

toString

public String toString()

Docmosis API 4.5.0

Copyright © 2014 Docmosis Pty Ltd. All Rights Reserved.