src/java.base/share/classes/sun/security/provider/PolicyParser.java
branchdatagramsocketimpl-branch
changeset 58678 9cf78a70fa4f
parent 53018 8bf9268df0e2
child 58679 9c3209ff7550
equal deleted inserted replaced
58677:13588c901957 58678:9cf78a70fa4f
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 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
  1309         }
  1309         }
  1310     }
  1310     }
  1311 
  1311 
  1312     public static class ParsingException extends GeneralSecurityException {
  1312     public static class ParsingException extends GeneralSecurityException {
  1313 
  1313 
       
  1314         @java.io.Serial
  1314         private static final long serialVersionUID = -4330692689482574072L;
  1315         private static final long serialVersionUID = -4330692689482574072L;
  1315 
  1316 
  1316         private String i18nMessage;
  1317         private String i18nMessage;
       
  1318         @SuppressWarnings("serial") // Not statically typed as Serializable
  1317         private LocalizedMessage localizedMsg;
  1319         private LocalizedMessage localizedMsg;
       
  1320         @SuppressWarnings("serial") // Not statically typed as Serializable
  1318         private Object[] source;
  1321         private Object[] source;
  1319 
  1322 
  1320         /**
  1323         /**
  1321          * Constructs a ParsingException with the specified
  1324          * Constructs a ParsingException with the specified
  1322          * detail message. A detail message is a String that describes
  1325          * detail message. A detail message is a String that describes