Uses of Class
org.apache.jsieve.exception.SieveException

Packages that use SieveException
org.apache.jsieve   
org.apache.jsieve.commands   
org.apache.jsieve.commands.extensions   
org.apache.jsieve.commands.optional   
org.apache.jsieve.comparators   
org.apache.jsieve.exception   
org.apache.jsieve.mail   
org.apache.jsieve.mailet   
org.apache.jsieve.tests   
org.apache.jsieve.tests.optional   
org.apache.jsieve.util Useful utilities for Sieve. 
org.apache.jsieve.util.check This package contains the ScriptCheckMailAdapter MailAdapter implementation. 
 

Uses of SieveException in org.apache.jsieve
 

Subclasses of SieveException in org.apache.jsieve
 class SieveConfigurationException
          Class SieveConfigurationException indicates an exceptional condition encountered while evaluating the Sieve configuration.
 

Methods in org.apache.jsieve that throw SieveException
 void SieveFactory.evaluate(MailAdapter mail, org.apache.jsieve.parser.generated.Node startNode)
           Method evaluate evaluates an RFC 822 compliant mail message wrapped in a MailAdapter by visting each node of the parsed script beginning at the passed start node.
 java.lang.Object ExecutableCommand.execute(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
          Method execute executes a Sieve Command.
 java.lang.Object Test.execute(MailAdapter mail, SieveContext context)
           
 java.lang.Object Block.execute(MailAdapter mail, SieveContext context)
           
 java.lang.Object Executable.execute(MailAdapter mail, SieveContext context)
           
 java.lang.Object Command.execute(MailAdapter mail, SieveContext context)
           
 java.lang.Object TestList.execute(MailAdapter mail, SieveContext context)
           
 java.lang.Object Commands.execute(MailAdapter mail, SieveContext context)
           
 void SieveFactory.interpret(MailAdapter mail, java.io.InputStream inputStream)
          Method interpret parses a Sieve script and then evaluates the result against a mail.
 java.lang.Object SieveValidationVisitor.visit(org.apache.jsieve.parser.generated.ASTargument node, java.lang.Object data)
           
 java.lang.Object SieveParserVisitorImpl.visit(org.apache.jsieve.parser.generated.ASTargument node, java.lang.Object data)
           
 java.lang.Object SieveValidationVisitor.visit(org.apache.jsieve.parser.generated.ASTarguments node, java.lang.Object data)
           
 java.lang.Object SieveParserVisitorImpl.visit(org.apache.jsieve.parser.generated.ASTarguments node, java.lang.Object data)
           
 java.lang.Object SieveValidationVisitor.visit(org.apache.jsieve.parser.generated.ASTblock node, java.lang.Object data)
           
 java.lang.Object SieveParserVisitorImpl.visit(org.apache.jsieve.parser.generated.ASTblock node, java.lang.Object data)
           
 java.lang.Object SieveValidationVisitor.visit(org.apache.jsieve.parser.generated.ASTcommand node, java.lang.Object data)
           
 java.lang.Object SieveParserVisitorImpl.visit(org.apache.jsieve.parser.generated.ASTcommand node, java.lang.Object data)
           
 java.lang.Object SieveValidationVisitor.visit(org.apache.jsieve.parser.generated.ASTcommands node, java.lang.Object data)
           
 java.lang.Object SieveParserVisitorImpl.visit(org.apache.jsieve.parser.generated.ASTcommands node, java.lang.Object data)
           
 java.lang.Object SieveValidationVisitor.visit(org.apache.jsieve.parser.generated.ASTstart node, java.lang.Object data)
           
 java.lang.Object SieveParserVisitorImpl.visit(org.apache.jsieve.parser.generated.ASTstart node, java.lang.Object data)
           
 java.lang.Object SieveValidationVisitor.visit(org.apache.jsieve.parser.generated.ASTstring_list node, java.lang.Object data)
           
 java.lang.Object SieveParserVisitorImpl.visit(org.apache.jsieve.parser.generated.ASTstring_list node, java.lang.Object data)
           
 java.lang.Object SieveValidationVisitor.visit(org.apache.jsieve.parser.generated.ASTstring node, java.lang.Object data)
           
 java.lang.Object SieveValidationVisitor.visit(org.apache.jsieve.parser.generated.ASTtest_list node, java.lang.Object data)
           
 java.lang.Object SieveParserVisitorImpl.visit(org.apache.jsieve.parser.generated.ASTtest_list node, java.lang.Object data)
           
 java.lang.Object SieveValidationVisitor.visit(org.apache.jsieve.parser.generated.ASTtest node, java.lang.Object data)
           
 java.lang.Object SieveParserVisitorImpl.visit(org.apache.jsieve.parser.generated.ASTtest node, java.lang.Object data)
           
 java.lang.Object SieveValidationVisitor.visit(org.apache.jsieve.parser.generated.SimpleNode node, java.lang.Object data)
           
 java.lang.Object SieveParserVisitorImpl.visit(org.apache.jsieve.parser.generated.SimpleNode node, java.lang.Object data)
           
protected  java.lang.Object SieveParserVisitorImpl.visitChildren(org.apache.jsieve.parser.generated.SimpleNode node, java.lang.Object data)
          Method visitChildren adds the children of the node to the passed List.
 

Uses of SieveException in org.apache.jsieve.commands
 

Methods in org.apache.jsieve.commands that throw SieveException
 java.lang.Object AbstractCommand.execute(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
           Method execute executes a basic Sieve Command after first invoking framework methods to validate that Sieve is in a legal state to invoke the Command and that the Command arguments are legal.
protected  java.lang.Object AbstractConditionalCommand.execute(MailAdapter mail, Block block, SieveContext context)
          Method execute executes a Block within the context of a new ConditionManager.
protected abstract  java.lang.Object AbstractCommand.executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
          Abstract method executeBasic invokes a Sieve Command.
protected  java.lang.Object Keep.executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
           Add an ActionKeep to the List of Actions to be performed.
protected  java.lang.Object Elsif.executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
           Conditionally eexecute a Block if an Elsif Condition is allowed and runnable.
protected  java.lang.Object Stop.executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
           Throws a StopException.
protected  java.lang.Object Redirect.executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
           Add an ActionRedirect to the List of Actions to be performed passing the sole StringList argument as the recipient.
protected  java.lang.Object Discard.executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
           Discard silently discards a Mail by cancelling the implicit keep as specified in RFC 3028, Section 4.5.
protected  java.lang.Object If.executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
           Conditionally eexecute a Block if an If Condition is allowed and runnable.
protected  java.lang.Object Else.executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
           Conditionally eexecute a Block if an Else Condition is runnable.
protected  java.lang.Object Require.executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
           Ensure the required feature is configured.
protected  void AbstractCommand.validateArguments(Arguments arguments, SieveContext context)
          Framework method validateArguments is invoked before a Sieve Command is executed to validate its arguments.
protected  void Elsif.validateArguments(Arguments arguments, SieveContext context)
           
protected  void Redirect.validateArguments(Arguments arguments, SieveContext context)
           
protected  void If.validateArguments(Arguments arguments, SieveContext context)
           
protected  void Require.validateArguments(Arguments arguments, SieveContext context)
           
protected  void AbstractCommand.validateBlock(Block block, SieveContext context)
          Framework method validateBlock is invoked before a Sieve Command is executed to validate its Block.
protected  void AbstractConditionalCommand.validateBlock(Block block, SieveContext context)
           
protected  void AbstractActionCommand.validateSingleStringArguments(Arguments arguments, SieveContext context)
          This is an utility method for subclasses
 

Uses of SieveException in org.apache.jsieve.commands.extensions
 

Methods in org.apache.jsieve.commands.extensions that throw SieveException
protected  java.lang.Object Log.executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
           
protected  void Log.validateArguments(Arguments arguments, SieveContext context)
           
 

Uses of SieveException in org.apache.jsieve.commands.optional
 

Methods in org.apache.jsieve.commands.optional that throw SieveException
protected  java.lang.Object FileInto.executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
           Add an ActionFileInto to the List of Actions to be performed passing the sole StringList argument as the destination.
protected  java.lang.Object Reject.executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
           Add an ActionReject to the List of Actions to be performed.
protected  void FileInto.validateArguments(Arguments arguments, SieveContext context)
           
protected  void Reject.validateArguments(Arguments arguments, SieveContext context)
           
 

Uses of SieveException in org.apache.jsieve.comparators
 

Methods in org.apache.jsieve.comparators that throw SieveException
static boolean ComparatorUtils.match(java.lang.String comparatorName, java.lang.String matchType, java.lang.String matchTarget, java.lang.String matchArgument, SieveContext context)
          Method match answers a boolean indicating if the parameter matchTarget compares to parameter matchArgument is a match of matchType using the comparator comparatorName.
 boolean Matches.matches(java.lang.String string, java.lang.String glob)
          Method matches answers a boolean indicating if parameter string1 matches the pattern in parameter glob using the matching rules defind by the implementation.
static boolean ComparatorUtils.matches(java.lang.String comparatorName, java.lang.String string, java.lang.String glob, SieveContext context)
          Method matches answers a boolean indicating if the parameter string/code> is matched by the patterm glob using an instance of comparatorName.
 

Uses of SieveException in org.apache.jsieve.exception
 

Subclasses of SieveException in org.apache.jsieve.exception
 class CommandException
          Class CommandException indicates an exceptional condition encountered while executing a Command.
 class FeatureException
          Class FeatureException indicates an exceptional condition encountered while evaluating a feature of Sieve.
 class InternetAddressException
          Class InternetAddressException indicates an exceptional condition encountered while evaluating an Internet Address.
 class LookupException
          Class LookupException indicates an exceptional condition encountered while locating a Sieve resource.
 class OperationException
          Class OperationException indicates an exceptional condition encountered while executing an Operation.
 class SievePatternException
          Class SievePatternException indicates an exceptional condition encountered while evaluating a glob expression.
 class StopException
          Class StopException indicates that evaluation should be terminated.
 class SyntaxException
          Class SyntaxException indicates an exceptional condition encountered while evaluating the operands of a Sieve operation, such as a Command, Test or Comparator.
 class TestException
          Class TestException indicates an exceptional condition encountered while executing a Test.
 

Uses of SieveException in org.apache.jsieve.mail
 

Subclasses of SieveException in org.apache.jsieve.mail
 class SieveMailException
          Class SieveMailException indicates an exceptional condition encountered while processing Sieve Mail.
 

Methods in org.apache.jsieve.mail that throw SieveException
 void MailAdapter.executeActions()
          Method executeActions.
 

Uses of SieveException in org.apache.jsieve.mailet
 

Methods in org.apache.jsieve.mailet that throw SieveException
 void SieveMailAdapter.executeActions()
           
 

Uses of SieveException in org.apache.jsieve.tests
 

Methods in org.apache.jsieve.tests that throw SieveException
 boolean AbstractTest.execute(MailAdapter mail, Arguments arguments, SieveContext context)
           Method execute executes a basic Sieve Test after first invoking framework methods to validate the Command arguments.
 boolean ExecutableTest.execute(MailAdapter mail, Arguments arguments, SieveContext context)
          Method execute executes a Test and answers a boolean indicating if the test was passed.
protected  boolean Exists.executeBasic(MailAdapter mail, Arguments arguments, SieveContext context)
           
protected  boolean Header.executeBasic(MailAdapter mail, Arguments arguments, SieveContext context)
           From RFC 3028, Section 5.7...
protected  boolean AbstractCompatatorTest.executeBasic(MailAdapter mail, Arguments arguments, SieveContext context)
           From RFC 3028, Section 5.1...
protected abstract  boolean AbstractTest.executeBasic(MailAdapter mail, Arguments arguments, SieveContext context)
          Abstract method executeBasic invokes a Sieve Test.
protected  boolean AnyOf.executeBasic(MailAdapter mail, Arguments arguments, SieveContext context)
           
protected  boolean AllOf.executeBasic(MailAdapter mail, Arguments arguments, SieveContext context)
           
protected  boolean Not.executeBasic(MailAdapter mail, Arguments arguments, SieveContext context)
           
protected  boolean Header.match(MailAdapter mail, java.lang.String comparator, java.lang.String matchType, java.util.List headerNames, java.util.List keys, SieveContext context)
          Method match.
protected  boolean AbstractCompatatorTest.match(MailAdapter mail, java.lang.String addressPart, java.lang.String comparator, java.lang.String matchType, java.util.List headerNames, java.util.List keys, SieveContext context)
          Method match.
protected  boolean AbstractCompatatorTest.match(MailAdapter mail, java.lang.String addressPart, java.lang.String comparator, java.lang.String matchType, java.lang.String headerName, java.util.List keys, SieveContext context)
          Method match.
protected abstract  boolean AbstractCompatatorTest.match(MailAdapter mail, java.lang.String addressPart, java.lang.String comparator, java.lang.String matchType, java.lang.String headerName, java.lang.String key, SieveContext context)
          Method match.
protected  boolean Address.match(MailAdapter mail, java.lang.String addressPart, java.lang.String comparator, java.lang.String matchType, java.lang.String headerName, java.lang.String key, SieveContext context)
           
protected  boolean Header.match(java.lang.String comparator, java.lang.String matchType, java.util.List headerValues, java.util.List keys, SieveContext context)
          Method match.
protected  boolean Header.match(java.lang.String comparator, java.lang.String matchType, java.lang.String headerValue, java.util.List keys, SieveContext context)
          Method match.
protected  boolean Address.match(java.lang.String addressPart, java.lang.String comparator, java.lang.String matchType, MailAdapter.Address address, java.lang.String key, SieveContext context)
           
protected  void Exists.validateArguments(Arguments arguments, SieveContext context)
           
protected  void Header.validateArguments(Arguments arguments, SieveContext context)
           
protected  void AbstractCompatatorTest.validateArguments(Arguments arguments, SieveContext context)
           
protected  void AbstractTest.validateArguments(Arguments arguments, SieveContext context)
          Framework method validateArguments is invoked before a Sieve Test is executed to validate its arguments.
protected  void Size.validateArguments(Arguments arguments, SieveContext context)
           
 

Uses of SieveException in org.apache.jsieve.tests.optional
 

Methods in org.apache.jsieve.tests.optional that throw SieveException
protected  boolean Body.executeBasic(MailAdapter mail, Arguments args, SieveContext ctx)
           
protected  boolean Envelope.match(MailAdapter mail, java.lang.String addressPart, java.lang.String comparator, java.lang.String matchType, java.lang.String headerName, java.lang.String key, SieveContext context)
           
protected  boolean Envelope.match(java.lang.String addressPart, java.lang.String comparator, java.lang.String matchType, java.lang.String headerValue, java.lang.String key, SieveContext context)
          Method match.
protected  void Body.validateArguments(Arguments args, SieveContext ctx)
           
 

Uses of SieveException in org.apache.jsieve.util
 

Subclasses of SieveException in org.apache.jsieve.util
 class HaltTraversalException
          Indicators that the node traversal should be abandoned.
 

Methods in org.apache.jsieve.util that throw SieveException
static void OutputUtils.toSieve(org.apache.jsieve.parser.generated.Node node, java.io.Writer writer)
          Writes the tree rooted at the given node to a Sieve script.
static void OutputUtils.toXml(org.apache.jsieve.parser.generated.Node node, java.io.Writer writer)
          Writes the given node as xml.
static void OutputUtils.toXmlDocument(org.apache.jsieve.parser.generated.Node node, java.io.Writer writer)
          Writes the given node as xml.
 void NodeTraverser.traverse(NodeHandler handler, org.apache.jsieve.parser.generated.Node root)
          Traverses the tree structure rooted at the given node.
 void NodeTraverser.traverse(SieveHandler handler, org.apache.jsieve.parser.generated.Node root)
          Traverses the tree structure rooted at the given node.
 

Uses of SieveException in org.apache.jsieve.util.check
 

Methods in org.apache.jsieve.util.check that throw SieveException
 void ScriptCheckMailAdapter.executeActions()
          Method executeActions.
 



Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.