com.docmosis.template
Class TemplateParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.docmosis.template.TemplateParseException
- All Implemented Interfaces:
- Serializable
- public class TemplateParseException
- extends Exception
This exception is used to identify a problem parsing a template.
- See Also:
- Serialized Form
Constructor Summary |
TemplateParseException()
|
TemplateParseException(String message)
|
TemplateParseException(String message,
long errorInsertionIndex)
|
TemplateParseException(String message,
String[] suggestions)
|
TemplateParseException(String message,
String[] suggestions,
long errorInsertionIndex)
|
TemplateParseException(String message,
String[] suggestions,
long errorInsertionIndex,
boolean outsideParagraph)
|
TemplateParseException(String message,
Throwable cause)
|
TemplateParseException(String message,
Throwable cause,
String[] suggestions)
|
TemplateParseException(String message,
Throwable cause,
String[] suggestions,
long errorInsertionIndex)
|
TemplateParseException(Throwable cause)
|
TemplateParseException(Throwable cause,
String[] suggestions)
|
TemplateParseException(Throwable cause,
String[] suggestions,
long errorInsertionIndex)
|
TemplateParseException
public TemplateParseException()
TemplateParseException
public TemplateParseException(String message,
Throwable cause)
TemplateParseException
public TemplateParseException(String message)
TemplateParseException
public TemplateParseException(String message,
long errorInsertionIndex)
TemplateParseException
public TemplateParseException(Throwable cause)
TemplateParseException
public TemplateParseException(String message,
Throwable cause,
String[] suggestions)
TemplateParseException
public TemplateParseException(String message,
Throwable cause,
String[] suggestions,
long errorInsertionIndex)
TemplateParseException
public TemplateParseException(String message,
String[] suggestions)
TemplateParseException
public TemplateParseException(String message,
String[] suggestions,
long errorInsertionIndex)
TemplateParseException
public TemplateParseException(String message,
String[] suggestions,
long errorInsertionIndex,
boolean outsideParagraph)
TemplateParseException
public TemplateParseException(Throwable cause,
String[] suggestions)
TemplateParseException
public TemplateParseException(Throwable cause,
String[] suggestions,
long errorInsertionIndex)
getSuggestions
public String[] getSuggestions()
getErrorInsertionIndex
public long getErrorInsertionIndex()
- If set, this indicates a good location in the template to insert an error message.
- Returns:
- 0 if not applicable
toString
public String toString()
isOutsideParagraph
public boolean isOutsideParagraph()
Copyright © 2014 Docmosis Pty Ltd. All Rights Reserved.