src/java.base/share/classes/javax/security/auth/callback/UnsupportedCallbackException.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 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 |
31 * |
31 * |
32 * @since 1.4 |
32 * @since 1.4 |
33 */ |
33 */ |
34 public class UnsupportedCallbackException extends Exception { |
34 public class UnsupportedCallbackException extends Exception { |
35 |
35 |
|
36 @java.io.Serial |
36 private static final long serialVersionUID = -6873556327655666839L; |
37 private static final long serialVersionUID = -6873556327655666839L; |
37 |
38 |
38 /** |
39 /** |
39 * @serial |
40 * @serial |
40 */ |
41 */ |
|
42 @SuppressWarnings("serial") // Not statically typed as Serializable |
41 private Callback callback; |
43 private Callback callback; |
42 |
44 |
43 /** |
45 /** |
44 * Constructs an {@code UnsupportedCallbackException} |
46 * Constructs an {@code UnsupportedCallbackException} |
45 * with no detail message. |
47 * with no detail message. |