src/share/classes/javax/sound/midi/InvalidMidiDataException.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1999, 2002, 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 --- 1,7 ---- /* ! * Copyright (c) 1999, 2014, 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
*** 37,57 **** * though that format is defined in the MIDI specification. * * @author Kara Kytle */ public class InvalidMidiDataException extends Exception { /** * Constructs an <code>InvalidMidiDataException</code> with * <code>null</code> for its error detail message. */ public InvalidMidiDataException() { super(); } - /** * Constructs an <code>InvalidMidiDataException</code> with the * specified detail message. * * @param message the string to display as an error detail message --- 37,57 ---- * though that format is defined in the MIDI specification. * * @author Kara Kytle */ public class InvalidMidiDataException extends Exception { + private static final long serialVersionUID = 2780771756789932067L; /** * Constructs an <code>InvalidMidiDataException</code> with * <code>null</code> for its error detail message. */ public InvalidMidiDataException() { super(); } /** * Constructs an <code>InvalidMidiDataException</code> with the * specified detail message. * * @param message the string to display as an error detail message