< prev index next >
src/java.desktop/share/classes/java/awt/color/CMMException.java
Print this page
@@ -1,6 +1,7 @@
/*
+ * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -20,40 +21,36 @@
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
-/*
- Created by gbp, October 25, 1997
-
- *
- */
-/*
- **********************************************************************
+/* ********************************************************************
**********************************************************************
**********************************************************************
*** COPYRIGHT (c) Eastman Kodak Company, 1997 ***
*** As an unpublished work pursuant to Title 17 of the United ***
*** States Code. All rights reserved. ***
**********************************************************************
**********************************************************************
**********************************************************************/
-
package java.awt.color;
-
/**
* This exception is thrown if the native CMM returns an error.
*/
-
public class CMMException extends java.lang.RuntimeException {
+
+ /**
+ * Use serialVersionUID from JDK 1.2 for interoperability.
+ */
private static final long serialVersionUID = 5775558044142994965L;
/**
- * Constructs a CMMException with the specified detail message.
+ * Constructs a {@code CMMException} with the specified detail message.
+ *
* @param s the specified detail message
*/
- public CMMException (String s) {
- super (s);
+ public CMMException(String s) {
+ super(s);
}
}
< prev index next >