6749308: java.io, java.lang, java.util exception classes don't specify serialVersionUID

Reviewed-by: alanb
This commit is contained in:
Chris Hegarty 2008-09-24 05:35:31 -07:00
parent dfe323d640
commit c6083c20e5
61 changed files with 182 additions and 64 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1996-1999 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,6 +33,8 @@ package java.io;
public class CharConversionException public class CharConversionException
extends java.io.IOException extends java.io.IOException
{ {
private static final long serialVersionUID = -8680016352018427031L;
/** /**
* This provides no detailed message. * This provides no detailed message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2000 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -41,6 +41,8 @@ package java.io;
*/ */
public public
class EOFException extends IOException { class EOFException extends IOException {
private static final long serialVersionUID = 6433858223774886977L;
/** /**
* Constructs an <code>EOFException</code> with <code>null</code> * Constructs an <code>EOFException</code> with <code>null</code>
* as its error detail message. * as its error detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-1999 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -41,6 +41,7 @@ package java.io;
*/ */
public class FileNotFoundException extends IOException { public class FileNotFoundException extends IOException {
private static final long serialVersionUID = -897856973823710492L;
/** /**
* Constructs a <code>FileNotFoundException</code> with * Constructs a <code>FileNotFoundException</code> with

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2000 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -41,6 +41,8 @@ package java.io;
*/ */
public public
class InterruptedIOException extends IOException { class InterruptedIOException extends IOException {
private static final long serialVersionUID = 4020568460727500567L;
/** /**
* Constructs an <code>InterruptedIOException</code> with * Constructs an <code>InterruptedIOException</code> with
* <code>null</code> as its error detail message. * <code>null</code> as its error detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1996-1999 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -34,6 +34,8 @@ package java.io;
* @since JDK1.1 * @since JDK1.1
*/ */
public class SyncFailedException extends IOException { public class SyncFailedException extends IOException {
private static final long serialVersionUID = -2353342684412443330L;
/** /**
* Constructs an SyncFailedException with a detail message. * Constructs an SyncFailedException with a detail message.
* A detail message is a String that describes this particular exception. * A detail message is a String that describes this particular exception.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2004 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -44,6 +44,8 @@ package java.io;
*/ */
public public
class UTFDataFormatException extends IOException { class UTFDataFormatException extends IOException {
private static final long serialVersionUID = 420743449228280612L;
/** /**
* Constructs a <code>UTFDataFormatException</code> with * Constructs a <code>UTFDataFormatException</code> with
* <code>null</code> as its error detail message. * <code>null</code> as its error detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1996-1999 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,6 +33,8 @@ package java.io;
public class UnsupportedEncodingException public class UnsupportedEncodingException
extends IOException extends IOException
{ {
private static final long serialVersionUID = -4274276298326136670L;
/** /**
* Constructs an UnsupportedEncodingException without a detail message. * Constructs an UnsupportedEncodingException without a detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-2005 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,6 +37,8 @@ package java.lang;
*/ */
public public
class AbstractMethodError extends IncompatibleClassChangeError { class AbstractMethodError extends IncompatibleClassChangeError {
private static final long serialVersionUID = -1654391082989018462L;
/** /**
* Constructs an <code>AbstractMethodError</code> with no detail message. * Constructs an <code>AbstractMethodError</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -35,6 +35,8 @@ package java.lang;
*/ */
public public
class ArithmeticException extends RuntimeException { class ArithmeticException extends RuntimeException {
private static final long serialVersionUID = 2256477558314496007L;
/** /**
* Constructs an <code>ArithmeticException</code> with no detail * Constructs an <code>ArithmeticException</code> with no detail
* message. * message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -35,6 +35,8 @@ package java.lang;
*/ */
public public
class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException { class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException {
private static final long serialVersionUID = -5116101128118950844L;
/** /**
* Constructs an <code>ArrayIndexOutOfBoundsException</code> with no * Constructs an <code>ArrayIndexOutOfBoundsException</code> with no
* detail message. * detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,6 +39,8 @@ package java.lang;
*/ */
public public
class ArrayStoreException extends RuntimeException { class ArrayStoreException extends RuntimeException {
private static final long serialVersionUID = -4522193890499838241L;
/** /**
* Constructs an <code>ArrayStoreException</code> with no detail message. * Constructs an <code>ArrayStoreException</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2000-2006 Sun Microsystems, Inc. All Rights Reserved. * Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -43,6 +43,8 @@ package java.lang;
* @since 1.4 * @since 1.4
*/ */
public class AssertionError extends Error { public class AssertionError extends Error {
private static final long serialVersionUID = -5013299493970297370L;
/** /**
* Constructs an AssertionError with no detail message. * Constructs an AssertionError with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,6 +39,8 @@ package java.lang;
*/ */
public public
class ClassCastException extends RuntimeException { class ClassCastException extends RuntimeException {
private static final long serialVersionUID = -9223365651070458532L;
/** /**
* Constructs a <code>ClassCastException</code> with no detail message. * Constructs a <code>ClassCastException</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,6 +33,8 @@ package java.lang;
* @since JDK1.0 * @since JDK1.0
*/ */
public class ClassCircularityError extends LinkageError { public class ClassCircularityError extends LinkageError {
private static final long serialVersionUID = 1054362542914539689L;
/** /**
* Constructs a {@code ClassCircularityError} with no detail message. * Constructs a {@code ClassCircularityError} with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -35,6 +35,8 @@ package java.lang;
*/ */
public public
class ClassFormatError extends LinkageError { class ClassFormatError extends LinkageError {
private static final long serialVersionUID = -8420114879011949195L;
/** /**
* Constructs a <code>ClassFormatError</code> with no detail message. * Constructs a <code>ClassFormatError</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -43,6 +43,8 @@ package java.lang;
public public
class CloneNotSupportedException extends Exception { class CloneNotSupportedException extends Exception {
private static final long serialVersionUID = 5195511250079656443L;
/** /**
* Constructs a <code>CloneNotSupportedException</code> with no * Constructs a <code>CloneNotSupportedException</code> with no
* detail message. * detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2004 Sun Microsystems, Inc. All Rights Reserved. * Copyright 2004-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,6 +33,8 @@ package java.lang;
* @since 1.5 * @since 1.5
*/ */
public class EnumConstantNotPresentException extends RuntimeException { public class EnumConstantNotPresentException extends RuntimeException {
private static final long serialVersionUID = -6046998521960521108L;
/** /**
* The type of the missing enum constant. * The type of the missing enum constant.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,6 +37,8 @@ package java.lang;
* @since JDK1.0 * @since JDK1.0
*/ */
public class IllegalAccessError extends IncompatibleClassChangeError { public class IllegalAccessError extends IncompatibleClassChangeError {
private static final long serialVersionUID = -8988904074992417891L;
/** /**
* Constructs an <code>IllegalAccessError</code> with no detail message. * Constructs an <code>IllegalAccessError</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2000 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -57,6 +57,8 @@ package java.lang;
* @since JDK1.0 * @since JDK1.0
*/ */
public class IllegalAccessException extends Exception { public class IllegalAccessException extends Exception {
private static final long serialVersionUID = 6616958222490762034L;
/** /**
* Constructs an <code>IllegalAccessException</code> without a * Constructs an <code>IllegalAccessException</code> without a
* detail message. * detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,6 +40,8 @@ package java.lang;
*/ */
public public
class IllegalMonitorStateException extends RuntimeException { class IllegalMonitorStateException extends RuntimeException {
private static final long serialVersionUID = 3713306369498869069L;
/** /**
* Constructs an <code>IllegalMonitorStateException</code> with no * Constructs an <code>IllegalMonitorStateException</code> with no
* detail message. * detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,6 +37,8 @@ package java.lang;
* @since JDK1.0 * @since JDK1.0
*/ */
public class IllegalThreadStateException extends IllegalArgumentException { public class IllegalThreadStateException extends IllegalArgumentException {
private static final long serialVersionUID = -7626246362397460174L;
/** /**
* Constructs an <code>IllegalThreadStateException</code> with no * Constructs an <code>IllegalThreadStateException</code> with no
* detail message. * detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -35,6 +35,8 @@ package java.lang;
*/ */
public public
class IncompatibleClassChangeError extends LinkageError { class IncompatibleClassChangeError extends LinkageError {
private static final long serialVersionUID = -4914975503642802119L;
/** /**
* Constructs an <code>IncompatibleClassChangeError</code> with no * Constructs an <code>IncompatibleClassChangeError</code> with no
* detail message. * detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,6 +36,8 @@ package java.lang;
*/ */
public public
class IndexOutOfBoundsException extends RuntimeException { class IndexOutOfBoundsException extends RuntimeException {
private static final long serialVersionUID = 234122996006267687L;
/** /**
* Constructs an <code>IndexOutOfBoundsException</code> with no * Constructs an <code>IndexOutOfBoundsException</code> with no
* detail message. * detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,6 +40,8 @@ package java.lang;
public public
class InstantiationError extends IncompatibleClassChangeError { class InstantiationError extends IncompatibleClassChangeError {
private static final long serialVersionUID = -4885810657349421204L;
/** /**
* Constructs an <code>InstantiationError</code> with no detail message. * Constructs an <code>InstantiationError</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2005 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -44,6 +44,8 @@ package java.lang;
*/ */
public public
class InstantiationException extends Exception { class InstantiationException extends Exception {
private static final long serialVersionUID = -8441929162975509110L;
/** /**
* Constructs an {@code InstantiationException} with no detail message. * Constructs an {@code InstantiationException} with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -34,6 +34,8 @@ package java.lang;
*/ */
public public
class InternalError extends VirtualMachineError { class InternalError extends VirtualMachineError {
private static final long serialVersionUID = -9062593416125562365L;
/** /**
* Constructs an <code>InternalError</code> with no detail message. * Constructs an <code>InternalError</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2005 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -48,6 +48,8 @@ package java.lang;
*/ */
public public
class InterruptedException extends Exception { class InterruptedException extends Exception {
private static final long serialVersionUID = 6700697376100628473L;
/** /**
* Constructs an <code>InterruptedException</code> with no detail message. * Constructs an <code>InterruptedException</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,6 +36,8 @@ package java.lang;
*/ */
public public
class LinkageError extends Error { class LinkageError extends Error {
private static final long serialVersionUID = 3579600108157160122L;
/** /**
* Constructs a <code>LinkageError</code> with no detail message. * Constructs a <code>LinkageError</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,6 +33,8 @@ package java.lang;
*/ */
public public
class NegativeArraySizeException extends RuntimeException { class NegativeArraySizeException extends RuntimeException {
private static final long serialVersionUID = -8960118058596991861L;
/** /**
* Constructs a <code>NegativeArraySizeException</code> with no * Constructs a <code>NegativeArraySizeException</code> with no
* detail message. * detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-2000 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,6 +40,8 @@ package java.lang;
*/ */
public public
class NoClassDefFoundError extends LinkageError { class NoClassDefFoundError extends LinkageError {
private static final long serialVersionUID = 9095859863287012458L;
/** /**
* Constructs a <code>NoClassDefFoundError</code> with no detail message. * Constructs a <code>NoClassDefFoundError</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -38,6 +38,8 @@ package java.lang;
*/ */
public public
class NoSuchFieldError extends IncompatibleClassChangeError { class NoSuchFieldError extends IncompatibleClassChangeError {
private static final long serialVersionUID = -3456430195886129035L;
/** /**
* Constructs a <code>NoSuchFieldException</code> with no detail message. * Constructs a <code>NoSuchFieldException</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1996-1999 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -32,6 +32,8 @@ package java.lang;
* @since JDK1.1 * @since JDK1.1
*/ */
public class NoSuchFieldException extends Exception { public class NoSuchFieldException extends Exception {
private static final long serialVersionUID = -6143714805279938260L;
/** /**
* Constructor. * Constructor.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-1998 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,6 +39,8 @@ package java.lang;
*/ */
public public
class NoSuchMethodError extends IncompatibleClassChangeError { class NoSuchMethodError extends IncompatibleClassChangeError {
private static final long serialVersionUID = -3765521442372831335L;
/** /**
* Constructs a <code>NoSuchMethodError</code> with no detail message. * Constructs a <code>NoSuchMethodError</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,6 +33,8 @@ package java.lang;
*/ */
public public
class NoSuchMethodException extends Exception { class NoSuchMethodException extends Exception {
private static final long serialVersionUID = 5034388446362600923L;
/** /**
* Constructs a <code>NoSuchMethodException</code> without a detail message. * Constructs a <code>NoSuchMethodException</code> without a detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -46,6 +46,8 @@ package java.lang;
*/ */
public public
class NullPointerException extends RuntimeException { class NullPointerException extends RuntimeException {
private static final long serialVersionUID = 5162710183389028792L;
/** /**
* Constructs a <code>NullPointerException</code> with no detail message. * Constructs a <code>NullPointerException</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -35,6 +35,8 @@ package java.lang;
*/ */
public public
class OutOfMemoryError extends VirtualMachineError { class OutOfMemoryError extends VirtualMachineError {
private static final long serialVersionUID = 8228564086184010517L;
/** /**
* Constructs an <code>OutOfMemoryError</code> with no detail message. * Constructs an <code>OutOfMemoryError</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -34,6 +34,8 @@ package java.lang;
*/ */
public public
class StackOverflowError extends VirtualMachineError { class StackOverflowError extends VirtualMachineError {
private static final long serialVersionUID = 8609175038441759607L;
/** /**
* Constructs a <code>StackOverflowError</code> with no detail message. * Constructs a <code>StackOverflowError</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-2000 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,6 +37,8 @@ package java.lang;
*/ */
public public
class StringIndexOutOfBoundsException extends IndexOutOfBoundsException { class StringIndexOutOfBoundsException extends IndexOutOfBoundsException {
private static final long serialVersionUID = -6762910422159637258L;
/** /**
* Constructs a <code>StringIndexOutOfBoundsException</code> with no * Constructs a <code>StringIndexOutOfBoundsException</code> with no
* detail message. * detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -46,4 +46,6 @@ package java.lang;
* @since JDK1.0 * @since JDK1.0
*/ */
public class ThreadDeath extends Error {} public class ThreadDeath extends Error {
private static final long serialVersionUID = -4417128565033088268L;
}

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved. * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,6 +40,8 @@ package java.lang;
* @since 1.5 * @since 1.5
*/ */
public class TypeNotPresentException extends RuntimeException { public class TypeNotPresentException extends RuntimeException {
private static final long serialVersionUID = -5101214195716534496L;
private String typeName; private String typeName;
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -34,6 +34,8 @@ package java.lang;
*/ */
public public
class UnknownError extends VirtualMachineError { class UnknownError extends VirtualMachineError {
private static final long serialVersionUID = 2524784860676771849L;
/** /**
* Constructs an <code>UnknownError</code> with no detail message. * Constructs an <code>UnknownError</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -35,6 +35,8 @@ package java.lang;
*/ */
public public
class UnsatisfiedLinkError extends LinkageError { class UnsatisfiedLinkError extends LinkageError {
private static final long serialVersionUID = -4019343241616879428L;
/** /**
* Constructs an <code>UnsatisfiedLinkError</code> with no detail message. * Constructs an <code>UnsatisfiedLinkError</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1998-1999 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -34,6 +34,8 @@ package java.lang;
*/ */
public public
class UnsupportedClassVersionError extends ClassFormatError { class UnsupportedClassVersionError extends ClassFormatError {
private static final long serialVersionUID = -7123279212883497373L;
/** /**
* Constructs a <code>UnsupportedClassVersionError</code> * Constructs a <code>UnsupportedClassVersionError</code>
* with no detail message. * with no detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-1997 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -35,6 +35,8 @@ package java.lang;
*/ */
public public
class VerifyError extends LinkageError { class VerifyError extends LinkageError {
private static final long serialVersionUID = 7001962396098498785L;
/** /**
* Constructs an <code>VerifyError</code> with no detail message. * Constructs an <code>VerifyError</code> with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2004 Sun Microsystems, Inc. All Rights Reserved. * Copyright 2004-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,6 +33,8 @@ package java.lang.annotation;
* @since 1.5 * @since 1.5
*/ */
public class AnnotationFormatError extends Error { public class AnnotationFormatError extends Error {
private static final long serialVersionUID = -4256701562333669892L;
/** /**
* Constructs a new <tt>AnnotationFormatError</tt> with the specified * Constructs a new <tt>AnnotationFormatError</tt> with the specified
* detail message. * detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved. * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -35,6 +35,8 @@ import java.lang.reflect.Method;
* @since 1.5 * @since 1.5
*/ */
public class AnnotationTypeMismatchException extends RuntimeException { public class AnnotationTypeMismatchException extends RuntimeException {
private static final long serialVersionUID = 8125925355765570191L;
/** /**
* The <tt>Method</tt> object for the annotation element. * The <tt>Method</tt> object for the annotation element.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved. * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -35,6 +35,8 @@ package java.lang.annotation;
* @since 1.5 * @since 1.5
*/ */
public class IncompleteAnnotationException extends RuntimeException { public class IncompleteAnnotationException extends RuntimeException {
private static final long serialVersionUID = 8445097402741811912L;
private Class annotationType; private Class annotationType;
private String elementName; private String elementName;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved. * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,6 +40,8 @@ package java.lang.instrument;
* @since 1.5 * @since 1.5
*/ */
public class IllegalClassFormatException extends Exception { public class IllegalClassFormatException extends Exception {
private static final long serialVersionUID = -3841736710924794009L;
/** /**
* Constructs an <code>IllegalClassFormatException</code> with no * Constructs an <code>IllegalClassFormatException</code> with no
* detail message. * detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2004-2006 Sun Microsystems, Inc. All Rights Reserved. * Copyright 2004-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -34,6 +34,8 @@ package java.lang.instrument;
* @since 1.5 * @since 1.5
*/ */
public class UnmodifiableClassException extends Exception { public class UnmodifiableClassException extends Exception {
private static final long serialVersionUID = 1716652643585309178L;
/** /**
* Constructs an <code>UnmodifiableClassException</code> with no * Constructs an <code>UnmodifiableClassException</code> with no
* detail message. * detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2003 Sun Microsystems, Inc. All Rights Reserved. * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -83,6 +83,7 @@ at the permission allows, and associated risks">
*/ */
public final class ManagementPermission extends java.security.BasicPermission { public final class ManagementPermission extends java.security.BasicPermission {
private static final long serialVersionUID = 1897496590799378737L;
/** /**
* Constructs a ManagementPermission with the specified name. * Constructs a ManagementPermission with the specified name.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2003 Sun Microsystems, Inc. All Rights Reserved. * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,4 +33,6 @@ package java.lang.reflect;
* *
* @since 1.5 * @since 1.5
*/ */
public class GenericSignatureFormatError extends ClassFormatError{} public class GenericSignatureFormatError extends ClassFormatError {
private static final long serialVersionUID = 6709919147137911034L;
}

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2003 Sun Microsystems, Inc. All Rights Reserved. * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -34,4 +34,6 @@ package java.lang.reflect;
* *
* @since 1.5 * @since 1.5
*/ */
public class MalformedParameterizedTypeException extends RuntimeException{} public class MalformedParameterizedTypeException extends RuntimeException {
private static final long serialVersionUID = -5696557788586220964L;
}

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -67,6 +67,8 @@ package java.util;
* @since 1.2 * @since 1.2
*/ */
public class ConcurrentModificationException extends RuntimeException { public class ConcurrentModificationException extends RuntimeException {
private static final long serialVersionUID = -3666751008965953603L;
/** /**
* Constructs a ConcurrentModificationException with no * Constructs a ConcurrentModificationException with no
* detail message. * detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-1998 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -35,6 +35,8 @@ package java.util;
*/ */
public public
class EmptyStackException extends RuntimeException { class EmptyStackException extends RuntimeException {
private static final long serialVersionUID = 5084686378493302095L;
/** /**
* Constructs a new <code>EmptyStackException</code> with <tt>null</tt> * Constructs a new <code>EmptyStackException</code> with <tt>null</tt>
* as its error message string. * as its error message string.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved. * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,6 +36,8 @@ package java.util;
*/ */
public public
class InputMismatchException extends NoSuchElementException { class InputMismatchException extends NoSuchElementException {
private static final long serialVersionUID = 8811230760997066428L;
/** /**
* Constructs an <code>InputMismatchException</code> with <tt>null</tt> * Constructs an <code>InputMismatchException</code> with <tt>null</tt>
* as its error message string. * as its error message string.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1994-1998 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,6 +37,8 @@ package java.util;
*/ */
public public
class NoSuchElementException extends RuntimeException { class NoSuchElementException extends RuntimeException {
private static final long serialVersionUID = 6769829250639411880L;
/** /**
* Constructs a <code>NoSuchElementException</code> with <tt>null</tt> * Constructs a <code>NoSuchElementException</code> with <tt>null</tt>
* as its error message string. * as its error message string.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1996-1999 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -48,6 +48,7 @@ package java.util;
*/ */
public class TooManyListenersException extends Exception { public class TooManyListenersException extends Exception {
private static final long serialVersionUID = 5074640544770687831L;
/** /**
* Constructs a TooManyListenersException with no detail message. * Constructs a TooManyListenersException with no detail message.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1997-1999 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -34,6 +34,8 @@ package java.util.jar;
*/ */
public public
class JarException extends java.util.zip.ZipException { class JarException extends java.util.zip.ZipException {
private static final long serialVersionUID = 7159778400963954473L;
/** /**
* Constructs a JarException with no detail message. * Constructs a JarException with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1999-2006 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -40,6 +40,7 @@ import sun.security.action.GetPropertyAction;
public class PatternSyntaxException public class PatternSyntaxException
extends IllegalArgumentException extends IllegalArgumentException
{ {
private static final long serialVersionUID = -3864639126226059218L;
private final String desc; private final String desc;
private final String pattern; private final String pattern;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1996 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -32,6 +32,8 @@ package java.util.zip;
*/ */
public public
class DataFormatException extends Exception { class DataFormatException extends Exception {
private static final long serialVersionUID = 2219632870893641452L;
/** /**
* Constructs a DataFormatException with no detail message. * Constructs a DataFormatException with no detail message.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2001 Sun Microsystems, Inc. All Rights Reserved. * Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -37,6 +37,8 @@ import java.io.IOException;
public public
class ZipException extends IOException { class ZipException extends IOException {
private static final long serialVersionUID = 8000196834066748623L;
/** /**
* Constructs an <code>ZipException</code> with <code>null</code> * Constructs an <code>ZipException</code> with <code>null</code>
* as its error detail message. * as its error detail message.