22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package java.util;
27
28
29 /**
30 * Error thrown when something goes wrong while locating, loading, or
31 * instantiating a service provider.
32 *
33 * @author Mark Reinhold
34 * @since 1.6
35 * @see ServiceLoader
36 */
37
38 public class ServiceConfigurationError
39 extends Error
40 {
41
42 private static final long serialVersionUID = 74132770414881L;
43
44 /**
45 * Constructs a new instance with the specified message.
46 *
47 * @param msg The message, or {@code null} if there is no message
48 *
49 */
50 public ServiceConfigurationError(String msg) {
51 super(msg);
52 }
53
54 /**
55 * Constructs a new instance with the specified message and cause.
56 *
57 * @param msg The message, or {@code null} if there is no message
58 *
59 * @param cause The cause, or {@code null} if the cause is nonexistent
60 * or unknown
61 */
|
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package java.util;
27
28
29 /**
30 * Error thrown when something goes wrong while locating, loading, or
31 * instantiating a service provider.
32 *
33 * @author Mark Reinhold
34 * @since 1.6
35 * @see ServiceLoader
36 */
37
38 public class ServiceConfigurationError
39 extends Error
40 {
41
42 @java.io.Serial
43 private static final long serialVersionUID = 74132770414881L;
44
45 /**
46 * Constructs a new instance with the specified message.
47 *
48 * @param msg The message, or {@code null} if there is no message
49 *
50 */
51 public ServiceConfigurationError(String msg) {
52 super(msg);
53 }
54
55 /**
56 * Constructs a new instance with the specified message and cause.
57 *
58 * @param msg The message, or {@code null} if there is no message
59 *
60 * @param cause The cause, or {@code null} if the cause is nonexistent
61 * or unknown
62 */
|