|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mailet.GenericMailet
org.apache.james.transport.mailets.debug.ExceptionThrowingMailet
public class ExceptionThrowingMailet
Debugging purpose Mailet. Just throws an exception.
| Constructor Summary | |
|---|---|
ExceptionThrowingMailet()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getMailetInfo()
Return a string describing this mailet. |
void |
service(Mail mail)
Throw an exception if any mail is processed. |
| Methods inherited from class org.apache.mailet.GenericMailet |
|---|
destroy, getInitParameter, getInitParameter, getInitParameterNames, getMailetConfig, getMailetContext, getMailetName, init, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionThrowingMailet()
| Method Detail |
|---|
public void service(Mail mail)
throws javax.mail.MessagingException
service in interface Mailetservice in class GenericMailetmail - the mail to process
MailetException - in all cases
javax.mail.MessagingException - - if an exception occurs that interferes with the mailet's normal operationpublic java.lang.String getMailetInfo()
getMailetInfo in interface MailetgetMailetInfo in class GenericMailet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||