Examples of crashIfBad()


Examples of com.uic.ase.proj.xbn.array.AOOValid.crashIfBad()

  private int iArrIdx = -1;

  private File[] aFile = null;
  public FThenDArray(File[] a_file)  {
    AOOValid aoov = new AOOValid(new AOOVCAll());
    aoov.crashIfBad("DirFile.FThenDArray.constructor", "a_file", a_file);

    aFile = a_file;

    //Initialize internal variables
    bMoreFilesToGet = true;
View Full Code Here

Examples of com.uic.ase.proj.xbn.array.UniqueStringPAS.crashIfBad()

    throwAXIfNull(aoslh, "aosl_hashtable", s_callingClsFnc);

    CompareArrays ca = new CompareArrays(new CACExact());

    UniqueStringPAS pasUnq = usapUnique.getUniqueStringPAS(new PARSGoodUnq(new PARDNLGoodUnq(new RCLength(1, -1, false))));
    pasUnq.crashIfBad("xbn.array.AOSLookup." + s_callingClsFnc, "usap_unique");

    UniqueStringPAS pasAbsolute = usapAbsolute.getUniqueStringPAS(new PARString(new PARDupNullLen(true, false, (new RCLength(1, -1, false)))));
    pasAbsolute.crashIfBad("xbn.array.AOSLookup." + s_callingClsFnc, "usap_absolute");

    ca.crashIfBadValues("xbn.array.AOSLookup." + s_callingClsFnc, "usap_unique", "usap_absolute", pasUnq, pasAbsolute);
View Full Code Here

Examples of com.uic.ase.proj.xbn.array.UniqueStringPAS.crashIfBad()

    UniqueStringPAS pasUnq = usapUnique.getUniqueStringPAS(new PARSGoodUnq(new PARDNLGoodUnq(new RCLength(1, -1, false))));
    pasUnq.crashIfBad("xbn.array.AOSLookup." + s_callingClsFnc, "usap_unique");

    UniqueStringPAS pasAbsolute = usapAbsolute.getUniqueStringPAS(new PARString(new PARDupNullLen(true, false, (new RCLength(1, -1, false)))));
    pasAbsolute.crashIfBad("xbn.array.AOSLookup." + s_callingClsFnc, "usap_absolute");

    ca.crashIfBadValues("xbn.array.AOSLookup." + s_callingClsFnc, "usap_unique", "usap_absolute", pasUnq, pasAbsolute);
  }

  //Cloning...START
View Full Code Here

Examples of com.uic.ase.proj.xbn.array.primitive.PACChar.crashIfBad()

    @param  c_mlcEnd  The character used to delimit the end of a multi-line comment.  May not equal c_mlcStart or c_singleLineCmt.  See <A HREF="#getMLCEnd()">getMLCEnd</A>.
    @param  c_singleLineCmt  The character used to delimit the start of a single-line comment.  May not equal c_mlcStart or c_mlcEnd.  See <A HREF="#getSingleLineCmt()">getDelimSL</A>.
   **/
  public CRCDelimiters(char[] ac_varDelims, char c_mlcStart, char c_mlcEnd, char c_singleLineCmt)  {
    PACChar pacc = new PACChar(ac_varDelims, new PARCStrict(new PAROrderDir(true), UtilChar.getAOCInvisible()));
    pacc.crashIfBad("xbn.config.CRCDelimiters.constructor", "ac_varDelims");
    apcVarDelims = new APChar(ac_varDelims, true);

    ZCICharErr cice = new ZCICharErr();
    cice.ciInvisible(c_mlcStart, "c_mlcStart");
    cice.ciInvisible(c_mlcEnd, "c_mlcEnd");
View Full Code Here

Examples of com.uic.ase.proj.xbn.array.primitive.PACChar.crashIfBad()

  public final void crashIfAOCNotUnqAscOrd(String s_callingClsFnc, char[] a_char, String s_acDesc, boolean b_actuallyCheck)  {
    throwAXIfNull(s_callingClsFnc, "s_callingClsFnc", "crashIfAOCNotUnqAscOrd");

    if(b_actuallyCheck)  {
      PACChar pacc = new PACChar(a_char, (new PARCStrict(new PAROrderDir(true))));
      pacc.crashIfBad(s_callingClsFnc, s_acDesc);
    }
  }

  /**
    <P>Get an array of chars containing the tab and space characters.</P>
View Full Code Here

Examples of com.uic.ase.proj.xbn.array.primitive.PACChar.crashIfBad()

    PACChar pacc = new PACChar(ac_toEscape,
      new PARChar(
        new PARDupNullLen(false),
        new PAROrderDir(true),
        new char[] {c_escape}));
    pacc.crashIfBad("xbn.string.escape.UnescapeString.constructor", "ac_toEscape");

    cEsc = c_escape;
    sEsc = (new Character(cEsc)).toString();
    acToEscape = ac_toEscape;
    apcToEscape = new APChar(ac_toEscape);
View Full Code Here

Examples of com.uic.ase.proj.xbn.array.primitive.PACChar.crashIfBad()

    @param  b_validateParams  If true, then all documented parameter restrictions are checked, and an <A HREF="~JD~ax~EJD~">AssertException</A> is thrown when any violation is found.  When false, be darn-tooting sure the parameters coform to documented restrictions.
   **/
  public TrimChars(char[] ac_toTrim, TALConfig tal_config, boolean b_checkRightForEsc, char c_escape, boolean b_validateParams)  {
    if(b_validateParams)  {
      PACChar pacc = new PACChar(ac_toTrim, (new PARCStrict(new PAROrderDir(true))));
      pacc.crashIfBad(sT + sCNSTR, "ac_toTrim");

      try  {
        if(!uStr.hasNoIllegalChars(tal_config.getLineSeparator(), ac_toTrim))  {
          throwAX("constructor:  tal_config.getLineSeparator() ('" + (new UtilString()).getVisible(tal_config.getLineSeparator()) + "') has at least one character that also exists in ac_toTrim:  " + (new APChar(acToTrim)).getList("['", "', '", "']"));
        }
View Full Code Here

Examples of com.uic.ase.proj.xbn.array.primitive.PAIInt.crashIfBad()

        vwi.add(us.getUnqArrIdx());
      }

      PAIInt paii = new PAIInt(vwi.getAOInt(), (new PARIStrict()));
      paii.crashIfBad("xbn.array.AOSLHashtable.constructor", "[The UniqueString.getUnqArrIdx() int values found in each UniqueString value in h_ashtable]");
      int iMin = paii.getMinimum();
      int iMax = paii.getMaximum();

      if(iMin != 0)  {
        throwAX("constructor:  The minimum unique array index (UniqueString.getUnqArrIdx()) must equal zero (meaning the first element in the array being represented).  Currently equals " + iMin + ".");
View Full Code Here

Examples of com.uic.ase.proj.xbn.array.primitive.PASString.crashIfBad()

    @param  b_dupGapsAllowed  If true, then each unique gap may be duplicated any number of times.  If false, then each unique gap must only exist once.
   **/
  public OGConfig(String[] as_uniqueGapNames, int i_rqdUnqGapCount, boolean b_dupGapsAllowed)  {
    PARSStrict parss = (new PARSStrict());
    PASString pass = new PASString(as_uniqueGapNames, parss);
    pass.crashIfBad("xbn.template.OGConfig.constructor", "as_uniqueGapNames");

    aosl = (new UtilArray()).getAOSLFromAOS(as_uniqueGapNames, true);
    aps = new APString(as_uniqueGapNames, true);

    if(i_rqdUnqGapCount == ||  i_rqdUnqGapCount < -1)  {
View Full Code Here

Examples of com.uic.ase.proj.xbn.named.PASNamed.crashIfBad()

   **/
  public NamedArray(String s_name, Named[] a_named, boolean b_listNames)  {
    sName = s_name;

    PASNamed pasn = new PASNamed(a_named, (new PARSStrict()));
    pasn.crashIfBad("xbn.named.NamedArray.constructor", "a_named");


    aosl = (new UtilArray()).getAOSLFromPA(pasn, b_listNames);
    apn = new APNamed(a_named, true);

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.