< prev index next >

src/java.xml.bind/share/classes/com/sun/xml/internal/org/jvnet/mimepull/MIMEParsingException.java

Print this page




  54      */
  55     public MIMEParsingException(String message) {
  56         super(message);
  57     }
  58 
  59     /**
  60      * Constructs a new exception with the specified detail
  61      * message and cause.
  62      *
  63      * @param message The detail message which is later retrieved
  64      *                using the getMessage method
  65      * @param cause   The cause which is saved for the later
  66      *                retrieval throw by the getCause method
  67      */
  68     public MIMEParsingException(String message, Throwable cause) {
  69         super(message, cause);
  70     }
  71 
  72     /**
  73      * Constructs a new WebServiceException with the specified cause
  74      * and a detail message of <tt>(cause==null ? null :
  75      * cause.toString())</tt> (which typically contains the
  76      * class and detail message of <tt>cause</tt>).

  77      *
  78      * @param cause The cause which is saved for the later
  79      *              retrieval throw by the getCause method.
  80      *              (A <tt>null</tt> value is permitted, and
  81      *              indicates that the cause is nonexistent or
  82      *              unknown.)
  83      */
  84     public MIMEParsingException(Throwable cause) {
  85         super(cause);
  86     }
  87 
  88 }


  54      */
  55     public MIMEParsingException(String message) {
  56         super(message);
  57     }
  58 
  59     /**
  60      * Constructs a new exception with the specified detail
  61      * message and cause.
  62      *
  63      * @param message The detail message which is later retrieved
  64      *                using the getMessage method
  65      * @param cause   The cause which is saved for the later
  66      *                retrieval throw by the getCause method
  67      */
  68     public MIMEParsingException(String message, Throwable cause) {
  69         super(message, cause);
  70     }
  71 
  72     /**
  73      * Constructs a new WebServiceException with the specified cause
  74      * and a detail message of
  75      * {@code (cause==null ? null : cause.toString())}
  76      * (which typically contains the
  77      * class and detail message of {@code cause}).
  78      *
  79      * @param cause The cause which is saved for the later
  80      *              retrieval throw by the getCause method.
  81      *              (A {@code null} value is permitted, and
  82      *              indicates that the cause is nonexistent or
  83      *              unknown.)
  84      */
  85     public MIMEParsingException(Throwable cause) {
  86         super(cause);
  87     }
  88 
  89 }
< prev index next >