Package org.jostraca.util

Examples of org.jostraca.util.ValueSet


      return match;
    }
    catch( Exception e ) {
      throw new TemplateElementProcessorException
        ( TemplateElementProcessorException.CODE_unexpected_regexp_mismatch, e.getMessage(),
          new ValueSet( ValueCode.REGEXP, iRegExpText_IsExpression,
                        ValueCode.CONTENT, pContent ) );
    }
  }
View Full Code Here


      return match;
    }
    catch( Exception e ) {
      throw new TemplateElementProcessorException
        ( TemplateElementProcessorException.CODE_unexpected_regexp_mismatch, e.getMessage(),
          new ValueSet( ValueCode.REGEXP, iRegExpText_MatchExpression,
                        ValueCode.CONTENT, pContent ) );
    }
  }
View Full Code Here

      iRegExpMatchArguments      = RegExp.make( iRegExpText_MatchArguments, RegExp.ModeSet.DotMatchesNewline );
    }
    catch( RegExpException e ) {
      throw new DirectiveException
        ( DirectiveException.CODE_bad_regexp, e.getMessage(),
          new ValueSet( ValueCode.REGEXP, iRegExpText_MatchArguments ) );
    }

  }
View Full Code Here

      return match;
    }
    catch( Exception e ) {
      throw new DirectiveException
        ( DirectiveException.CODE_regexp_mismatch, e.getMessage(),
          new ValueSet( ValueCode.REGEXP, iRegExpText_MatchArguments,
                        ValueCode.CONTENT, pContent ) );
    }
  }
View Full Code Here

    try {
      classList = pPropertySet.get( Property.lang_CodeWriterTransforms );
      iCodeWriterTextualTransformManager.loadClasses( classList );
    }
    catch( Exception e ) {
      throw ProcessException.CODE_post_proc_tran( new ValueSet( ValueCode.CLASSLIST, classList ), e );
    }
  }
View Full Code Here

        // REVIEW: this is deprecated
        pTemplateActionHandler.append( content );
      }
      else {
        throw new DirectiveException( DirectiveException.CODE_bad_args,
                                      new ValueSet( ValueCode.DIRECTIVE, pDirectiveName,
                                                    ValueCode.ARGUMENTS, pArguments ) );

      }
    }
  }
View Full Code Here

      iRegExpMatchArguments      = RegExp.make( iRegExpText_MatchArguments, RegExp.ModeSet.DotMatchesNewline );
    }
    catch( Exception e ) {
      throw new DirectiveException
        ( DirectiveException.CODE_bad_regexp, e.getMessage(),
          new ValueSet( ValueCode.REGEXP, iRegExpText_MatchArguments ) );
    }

  }
View Full Code Here

      return match;
    }
    catch( RegExpException e ) {
      throw new DirectiveException
        ( DirectiveException.CODE_regexp_mismatch, e.getMessage(),
          new ValueSet( ValueCode.REGEXP, iRegExpText_MatchArguments,
                        ValueCode.CONTENT, pContent ) );
    }
  }
View Full Code Here

          + pTemplatePath.getTemplateFileName() + "-jostraca-settings.txt"
          ;
        pPropertySet.save( dumpFile );
      }
      catch( Exception e ) {
        throw ProcessException.CODE_dump_ps( new ValueSet( ValueCode.FILE, dumpFile ), e );
      }
    }
  }
View Full Code Here

          + pTemplatePath.getTemplateFileName() + "-template-source.txt"
          ;
        FileUtil.writeFile( dumpFile, pTemplate.getSource() );
      }
      catch( Exception e ) {
        throw ProcessException.CODE_dump_tm( new ValueSet( ValueCode.FILE, dumpFile ), e );
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.jostraca.util.ValueSet

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.