If the filter is done with a property file <filtersfile file="filter.properties"/> and the property file doesn't exist, an exception is thrown. Is there a way to do more graceful degradation?
On 6/18/06, Asaf Mesika <[EMAIL PROTECTED]> wrote:
I'm not sure I understood your question: How can a filter not exist? Can you give an example? On 6/15/06, Aaron Davies <[EMAIL PROTECTED]> wrote: > > A couple questions on token filters: > > First, is there a simple way to directly apply a filtersfile to an > existing file, i.e. without moving/copying it? > > Second, is there an easy way to handle a filtersfile's not existing? > I'd like to run a file through multiple filters, not all of which will > actually exist, but the only way I can see to do that right now is to > either wrap multiple copy-filter statements in available tests or to > do the full truth table on all the filters and use it to generate the > correct filterset. There's got to be a better option. > -- > Aaron Davies > [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- Aaron Davies [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]