7 Replies Latest reply on Mar 3, 2008 8:58 PM by (Dr._wojadubowski)

    Exception Handling - sendEmail

    Johannes Lehninger Level 1

      i'm trying to find out how the sendEmail service works.
      it has an exception handling included which I've tried to test, but in case of a malformed emailaddress the process stops, I don't want to stop, I want to set an other action in case of this error.
      I think of email addresses coming out of a db, where it isn't guaranteed that their format is ok.

      Isn't it possible to handle such exceptions?

      this is the eclipse-error-log entry.

      !ENTRY com.adobe.DSC_Admin_UI 4 4 2008-01-16 14:06:08.208
      !MESSAGE failed to invoke SendEmail.invoke
      !STACK 0
      java.io.InvalidClassException: javax.mail.MessagingException; local class incompatible: stream classdesc serialVersionUID = -6388198985190878204, local class serialVersionUID = -7569192289819959253
      at com.adobe.idp.dsc.provider.impl.base.AbstractResponseHolder.handleException(AbstractRespo nseHolder.java:161)
      at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkBindingStubUtil.deSerializeResponse( SoapSdkBindingStubUtil.java:122)
      at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend(SoapAxisDispatche r.java:128)
      at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)