equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 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 |
43 * @serial exclude |
43 * @serial exclude |
44 */ |
44 */ |
45 |
45 |
46 public class InvalidPropertiesFormatException extends IOException { |
46 public class InvalidPropertiesFormatException extends IOException { |
47 |
47 |
|
48 @java.io.Serial |
48 private static final long serialVersionUID = 7763056076009360219L; |
49 private static final long serialVersionUID = 7763056076009360219L; |
49 |
50 |
50 /** |
51 /** |
51 * Constructs an InvalidPropertiesFormatException with the specified |
52 * Constructs an InvalidPropertiesFormatException with the specified |
52 * cause. |
53 * cause. |
72 |
73 |
73 /** |
74 /** |
74 * Throws NotSerializableException, since InvalidPropertiesFormatException |
75 * Throws NotSerializableException, since InvalidPropertiesFormatException |
75 * objects are not intended to be serializable. |
76 * objects are not intended to be serializable. |
76 */ |
77 */ |
|
78 @java.io.Serial |
77 private void writeObject(java.io.ObjectOutputStream out) |
79 private void writeObject(java.io.ObjectOutputStream out) |
78 throws NotSerializableException |
80 throws NotSerializableException |
79 { |
81 { |
80 throw new NotSerializableException("Not serializable."); |
82 throw new NotSerializableException("Not serializable."); |
81 } |
83 } |
82 |
84 |
83 /** |
85 /** |
84 * Throws NotSerializableException, since InvalidPropertiesFormatException |
86 * Throws NotSerializableException, since InvalidPropertiesFormatException |
85 * objects are not intended to be serializable. |
87 * objects are not intended to be serializable. |
86 */ |
88 */ |
|
89 @java.io.Serial |
87 private void readObject(java.io.ObjectInputStream in) |
90 private void readObject(java.io.ObjectInputStream in) |
88 throws NotSerializableException |
91 throws NotSerializableException |
89 { |
92 { |
90 throw new NotSerializableException("Not serializable."); |
93 throw new NotSerializableException("Not serializable."); |
91 } |
94 } |