This class will manage error messages, warning messages, and other types of
message events.
error
public void error(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
String msg)
throws TransformerException
Tell the user of an error, and probably throw an
exception.
styleNode
- Stylesheet nodesourceNode
- Source tree nodemsg
- Message text to issue
error
public void error(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
String msg,
args[] )
throws TransformerException
Tell the user of an error, and probably throw an
exception.
styleNode
- Stylesheet nodesourceNode
- Source tree nodemsg
- Message text to issue
error
public void error(SourceLocator srcLctr,
String msg)
throws TransformerException
Tell the user of an error, and probably throw an
exception.
msg
- Message text to issue
error
public void error(SourceLocator srcLctr,
String msg,
Exception e)
throws TransformerException
Tell the user of an error, and probably throw an
exception.
msg
- Message text to issuee
- Exception to throw
error
public void error(SourceLocator srcLctr,
String msg,
Object[] args)
throws TransformerException
Tell the user of an error, and probably throw an
exception.
msg
- Message text to issueargs
- Arguments to be passed to the message
error
public void error(SourceLocator srcLctr,
String msg,
args[] ,
Exception e)
throws TransformerException
Tell the user of an error, and probably throw an
exception.
msg
- Message text to issuee
- Exception to throw
message
public void message(SourceLocator srcLctr,
String msg,
boolean terminate)
throws TransformerException
Warn the user of a problem.
This is public for access by extensions.
msg
- The message text to issueterminate
- Flag indicating whether to terminate this process
warn
public void warn(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
String msg)
throws TransformerException
Warn the user of a problem.
styleNode
- Stylesheet nodesourceNode
- Source tree nodemsg
- Message text to issue
warn
public void warn(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
String msg,
args[] )
throws TransformerException
Warn the user of a problem.
styleNode
- Stylesheet nodesourceNode
- Source tree nodemsg
- Message text to issue
warn
public void warn(SourceLocator srcLctr,
String msg)
throws TransformerException
Warn the user of a problem.
msg
- Message text to issue
warn
public void warn(SourceLocator srcLctr,
String msg,
Object[] args)
throws TransformerException
Warn the user of a problem.
msg
- Message text to issueargs
- Arguments to pass to the message