org.apache.jsieve.commands
Class ThrowTestException

java.lang.Object
  extended by org.apache.jsieve.commands.ThrowTestException
All Implemented Interfaces:
ExecutableCommand

public class ThrowTestException
extends java.lang.Object
implements ExecutableCommand

Class ThrowTestException implements a Sieve Command to throw a TestException.


Nested Class Summary
 class ThrowTestException.TestException
          Class TestException
 
Constructor Summary
ThrowTestException()
          Constructor for ThrowTestException.
 
Method Summary
 java.lang.Object execute(org.apache.jsieve.mail.MailAdapter mail, Arguments arguments, Block block, SieveContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThrowTestException

public ThrowTestException()
Constructor for ThrowTestException.

Method Detail

execute

public java.lang.Object execute(org.apache.jsieve.mail.MailAdapter mail,
                                Arguments arguments,
                                Block block,
                                SieveContext context)
                         throws org.apache.jsieve.exception.SieveException
Specified by:
execute in interface ExecutableCommand
Throws:
org.apache.jsieve.exception.SieveException
See Also:
ExecutableCommand.execute(MailAdapter, Arguments, Block, SieveContext)


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