title: @ApplicationException with Java 1.7
body: <p>I have web service with method that throw my custom exeption.  </p>
  
  <pre><code>@WebMethod void someMethod(...) throws MyException   
  </code></pre>
  
  <p><code>MyException</code> class is annotated with <code>@ApplicationException</code> </p>
  
  <pre><code>@ApplicationException  
  class public MyException extends Exception {...}   
  </code></pre>
  
  <p>I was build my project using <code>maven</code>, <code>JDK 1.6</code> and <code>jaxws-maven-plugin</code> for generating WSDL, and all worked well.<br>
  But now I want do the same with <code>JDK 1.7</code>, and now I get error  </p>
  
  <pre><code>Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
  java.lang.StackTraceElement does not have a no-arg default constructor.
      this problem is related to the following location:
          at java.lang.StackTraceElement
          at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()
          at java.lang.Throwable
          at private java.lang.Throwable[] com.MyPackage.MyExceptionBean.suppressed
          at com.MyPackage.MyExceptionBean  
  </code></pre>
  
  <p>Any ideas?  </p>
  
  <p>Different is that with JDK 1.6 class MyExceptionBean was generated like  </p>
  
  <pre><code>public class MyExceptionBean {
  
      private String message;
  </code></pre>
  
  <p>but with JDK 1.7  </p>
  
  <pre><code>public class MyExceptionBean {
  
      private String message;
      private Throwable[] suppressed;  
  </code></pre>
  
  <p>jaxws-maven-plugin   </p>
  
  <pre><code>&lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
  &lt;artifactId&gt;jaxws-maven-plugin&lt;/artifactId&gt;
  &lt;version&gt;1.10&lt;/version&gt;
  </code></pre>