!--a11y-->
Creating a Java Class 
You have to create a new Java class – an Exception class as an additional requirement of the JavaMail’s EJB. In this step you create the SendMailException.java class.
...
1. Expand the package to the javamail folder.
2. Open the context menu and choose New ® Java Class…
3. In the New Java Class dialog that appears, specify SendMailException as the Name for the new class.
4. Choose Finish.
5. Specify the source for the SendMailException class.
6. Save the new class.
The SendMailException class is created.
Setting Classpath and Compiling Sources