java.lang.UnsupportedOperationException: Method not yet implemented
843830Oct 16 2006 — edited Feb 3 2008Hi
I work on a project that use java api version 1.2, after the deployment of the web application and using it I have had the following error message:
[Mon Oct 16 11:52:51 GMT 2006] Memory used: 24467288 Error: org.epoline.soprano.Csstart: A fatal error occured in SOPRANO: Method not yet implemented : java.lang.UnsupportedOperationException: Method not yet implemented
at javax.mail.internet.MimeBodyPart.setFileName(MimeBodyPart.java:156)
...
here is the code:
// attach the file to the message
FileDataSource fds = new FileDataSource(fileName);
attach.setDataHandler(new DataHandler(fds));
attach.setFileName(fds.getName());
...
it sseems that the method setFileName of MimeBodyPart class throw the exception. I tried to change the jar to version 1.3.3 or 1.4 but nothing change. Can you help me. Thanks