src/java.base/share/classes/java/lang/module/InvalidModuleDescriptorException.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
32 * @see ModuleDescriptor#read |
32 * @see ModuleDescriptor#read |
33 * @since 9 |
33 * @since 9 |
34 * @spec JPMS |
34 * @spec JPMS |
35 */ |
35 */ |
36 public class InvalidModuleDescriptorException extends RuntimeException { |
36 public class InvalidModuleDescriptorException extends RuntimeException { |
|
37 @java.io.Serial |
37 private static final long serialVersionUID = 4863390386809347380L; |
38 private static final long serialVersionUID = 4863390386809347380L; |
38 |
39 |
39 /** |
40 /** |
40 * Constructs an {@code InvalidModuleDescriptorException} with no detail |
41 * Constructs an {@code InvalidModuleDescriptorException} with no detail |
41 * message. |
42 * message. |