Package com.uic.ase.proj.xbn.template

Examples of com.uic.ase.proj.xbn.template.TemplateFormatException


    if(i_charArrIdx > -1)  {
      sCAI = ":" + getCharArrIdx(i_charArrIdx);
    }
    String sError = "[" + (new UtilString()).getConditional(sES, getTemplateName(), ":") + getLineNumber() + sCAI + "]  " + s_errorMsg + "\nEXTRA INFORMATION:\nGap start tag:  '" + tlao.sTagStart + "'\nGap end tag:    '" + tlao.sTagEnd + "'\nRemaining text on the line (the first character in these remaining contents is array index " + getCharArrIdx() + " of the overall/original line of text):\n--------------\n'" + tlao.sbLine.toString() + "'\n--------------";
    initialize();
    throw new TemplateFormatException(sError);
  }
View Full Code Here


  public Template(String s_name, ForLineRetrieval flr_srcTxt, TParseConfig tp_config, TFilter template_filter) throws TemplateFormatException  {
    TemplateDataOrString tdos = new TemplateDataOrString(s_name, flr_srcTxt, tp_config);

    //Using getName() will throw a NullPointerException...START
      if(!tdos.isTemplate())  {
        throw new TemplateFormatException("constructor:  There are no gaps in the provided template text.  TemplateDataOrString.isTemplate() equals false.");
      }

      tData = tdos.getTemplateData();
    //Using getName() will throw a NullPointerException...END
View Full Code Here

    <P>Throw a TemplateFormatException with a standardized message.</P>

    <P>Equal to <CODE>throw new <A HREF="~JD~tfx~EJD~">TemplateFormatException</A>(s_callingFunc, <A HREF="#getName()">getName</A>(), s_message)</CODE></P>
   **/
  protected final void throwTFX(String s_callingFunc, String s_message) throws TemplateFormatException  {
    throw new TemplateFormatException(s_callingFunc + (getName()==null?sES:" [getName()=" + getName() + "]") + s_message);
  }
View Full Code Here

    <P>Throw a TemplateFormatException with a standardized message.</P>

    <P>Equal to <CODE>throw new <A HREF="~JD~tfx~EJD~">TemplateFormatException</A>(s_callingFunc + (<A HREF="#getName()">getName</A>()==null?"":" [getName()=" + getName() + "]") + s_message)</CODE></P>
   **/
  protected final void throwTFX(String s_callingFunc, String s_name, String s_message) throws TemplateFormatException  {
    throw new TemplateFormatException(s_callingFunc + (getName()==null?sES:" [getName()=" + getName() + "]") + s_message);
  }
View Full Code Here

TOP

Related Classes of com.uic.ase.proj.xbn.template.TemplateFormatException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.