< prev index next >

src/java.base/share/classes/java/util/ServiceConfigurationError.java

Print this page




  48  *   <li> A concrete provider class cannot be instantiated; or
  49  *
  50  *   <li> Some other kind of error occurs. </li>
  51  *
  52  * </ul>
  53  *
  54  *
  55  * @author Mark Reinhold
  56  * @since 1.6
  57  */
  58 
  59 public class ServiceConfigurationError
  60     extends Error
  61 {
  62 
  63     private static final long serialVersionUID = 74132770414881L;
  64 
  65     /**
  66      * Constructs a new instance with the specified message.
  67      *
  68      * @param  msg  The message, or <tt>null</tt> if there is no message
  69      *
  70      */
  71     public ServiceConfigurationError(String msg) {
  72         super(msg);
  73     }
  74 
  75     /**
  76      * Constructs a new instance with the specified message and cause.
  77      *
  78      * @param  msg  The message, or <tt>null</tt> if there is no message
  79      *
  80      * @param  cause  The cause, or <tt>null</tt> if the cause is nonexistent
  81      *                or unknown
  82      */
  83     public ServiceConfigurationError(String msg, Throwable cause) {
  84         super(msg, cause);
  85     }
  86 
  87 }


  48  *   <li> A concrete provider class cannot be instantiated; or
  49  *
  50  *   <li> Some other kind of error occurs. </li>
  51  *
  52  * </ul>
  53  *
  54  *
  55  * @author Mark Reinhold
  56  * @since 1.6
  57  */
  58 
  59 public class ServiceConfigurationError
  60     extends Error
  61 {
  62 
  63     private static final long serialVersionUID = 74132770414881L;
  64 
  65     /**
  66      * Constructs a new instance with the specified message.
  67      *
  68      * @param  msg  The message, or {@code null} if there is no message
  69      *
  70      */
  71     public ServiceConfigurationError(String msg) {
  72         super(msg);
  73     }
  74 
  75     /**
  76      * Constructs a new instance with the specified message and cause.
  77      *
  78      * @param  msg  The message, or {@code null} if there is no message
  79      *
  80      * @param  cause  The cause, or {@code null} if the cause is nonexistent
  81      *                or unknown
  82      */
  83     public ServiceConfigurationError(String msg, Throwable cause) {
  84         super(msg, cause);
  85     }
  86 
  87 }
< prev index next >