public class MsgMgr extends Object
| Constructor and Description |
|---|
MsgMgr(TransformerImpl transformer)
Create a message manager object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
error(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
String msg)
Tell the user of an error, and probably throw an
exception.
|
void |
error(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
String msg,
Object[] args)
Tell the user of an error, and probably throw an
exception.
|
void |
error(SourceLocator srcLctr,
String msg)
Tell the user of an error, and probably throw an
exception.
|
void |
error(SourceLocator srcLctr,
String msg,
Exception e)
Tell the user of an error, and probably throw an
exception.
|
void |
error(SourceLocator srcLctr,
String msg,
Object[] args)
Tell the user of an error, and probably throw an
exception.
|
void |
error(SourceLocator srcLctr,
String msg,
Object[] args,
Exception e)
Tell the user of an error, and probably throw an
exception.
|
void |
message(SourceLocator srcLctr,
String msg,
boolean terminate)
Warn the user of a problem.
|
void |
warn(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
String msg)
Warn the user of a problem.
|
void |
warn(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
String msg,
Object[] args)
Warn the user of a problem.
|
void |
warn(SourceLocator srcLctr,
String msg)
Warn the user of a problem.
|
void |
warn(SourceLocator srcLctr,
String msg,
Object[] args)
Warn the user of a problem.
|
public MsgMgr(TransformerImpl transformer)
transformer - non transformer instancepublic void message(SourceLocator srcLctr, String msg, boolean terminate) throws TransformerException
msg - The message text to issueterminate - Flag indicating whether to terminate this processXSLProcessorException - thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.TransformerExceptionpublic void warn(SourceLocator srcLctr, String msg) throws TransformerException
msg - Message text to issueXSLProcessorException - thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.TransformerExceptionpublic void warn(SourceLocator srcLctr, String msg, Object[] args) throws TransformerException
msg - Message text to issueargs - Arguments to pass to the messageXSLProcessorException - thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.TransformerExceptionpublic void warn(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg) throws TransformerException
styleNode - Stylesheet nodesourceNode - Source tree nodemsg - Message text to issueXSLProcessorException - thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.TransformerExceptionpublic void warn(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg, Object[] args) throws TransformerException
styleNode - Stylesheet nodesourceNode - Source tree nodemsg - Message text to issueargs - Arguments to pass to the messageXSLProcessorException - thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.TransformerExceptionpublic void error(SourceLocator srcLctr, String msg) throws TransformerException
msg - Message text to issueXSLProcessorException - thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.TransformerExceptionpublic void error(SourceLocator srcLctr, String msg, Object[] args) throws TransformerException
msg - Message text to issueargs - Arguments to be passed to the messageXSLProcessorException - thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.TransformerExceptionpublic void error(SourceLocator srcLctr, String msg, Exception e) throws TransformerException
msg - Message text to issuee - Exception to throwXSLProcessorException - thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.TransformerExceptionpublic void error(SourceLocator srcLctr, String msg, Object[] args, Exception e) throws TransformerException
msg - Message text to issueargs - Arguments to use in messagee - Exception to throwXSLProcessorException - thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.TransformerExceptionpublic void error(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg) throws TransformerException
styleNode - Stylesheet nodesourceNode - Source tree nodemsg - Message text to issueXSLProcessorException - thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.TransformerExceptionpublic void error(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg, Object[] args) throws TransformerException
styleNode - Stylesheet nodesourceNode - Source tree nodemsg - Message text to issueargs - Arguments to use in messageXSLProcessorException - thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.TransformerExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.