com.sapportals.portal.appintegrator.template_processor
Class TemplateParserException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.sapportals.portal.prt.runtime.PortalRuntimeException
|
+--com.sapportals.portal.appintegrator.template_processor.TemplateParserException
- All Implemented Interfaces:
- java.io.Serializable
- public class TemplateParserException
- extends com.sapportals.portal.prt.runtime.PortalRuntimeException
Exception fired on Template parsing errors
Copyright (c) SAP Portals Europe GmbH 2001
- Version:
- $Revision: #1 $
- See Also:
- Serialized Form
|
Constructor Summary |
TemplateParserException(java.lang.String template,
java.lang.String errmsg,
int pos)
Constructs a new TemplateParserException |
TemplateParserException(java.lang.String template,
java.lang.String tagExpr,
java.lang.String invalidCtx,
boolean isTerminal)
Constructs a new TemplateParserException because of an unknown context/terminal |
TemplateParserException(java.lang.String template,
java.lang.String errTk,
java.lang.String msg,
int pos)
Constructs a new TemplateParserException because of a terminal syntax error |
TemplateParserException(java.lang.String msg,
java.lang.Throwable cause)
Constructs a new TemplateParserException with |
| Methods inherited from class com.sapportals.portal.prt.runtime.PortalRuntimeException |
getCause, getException, printStackTrace, printStackTrace, printStackTrace, setCause, setException, toHTML, toText |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TemplateParserException
public TemplateParserException(java.lang.String template,
java.lang.String errmsg,
int pos)
- Constructs a new TemplateParserException
- Parameters:
template - the parsed templateerrmsg - what went wrongpos - position in the template where the error occured
TemplateParserException
public TemplateParserException(java.lang.String template,
java.lang.String tagExpr,
java.lang.String invalidCtx,
boolean isTerminal)
- Constructs a new TemplateParserException because of an unknown context/terminal
- Parameters:
template - the to be processed templatetagExpr - the current tag expression where the error occuredinvalidCtx - the contex/terminal that could not be retrievedisTerminal - true <=> invalidCtx is a terminal property
TemplateParserException
public TemplateParserException(java.lang.String template,
java.lang.String errTk,
java.lang.String msg,
int pos)
- Constructs a new TemplateParserException because of a terminal syntax error
- Parameters:
template - the to be processed templateerrTk - the token that could not be consumedmsg - the reason why the token could not be consumedpos - the zero based position in the template where the error occured
TemplateParserException
public TemplateParserException(java.lang.String msg,
java.lang.Throwable cause)
- Constructs a new TemplateParserException with
- Parameters:
cause - an exception that was caught (e.g. IOException).msg - what went wrong