< prev index next >

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

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1999, 2017, 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, 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
*** 47,66 **** /** * Constructs an {@code InvalidMidiDataException} with {@code null} for its * error detail message. */ public InvalidMidiDataException() { - super(); } /** * Constructs an {@code InvalidMidiDataException} with the specified detail * message. * * @param message the string to display as an error detail message */ ! public InvalidMidiDataException(String message) { ! super(message); } } --- 47,64 ---- /** * Constructs an {@code InvalidMidiDataException} with {@code null} for its * error detail message. */ public InvalidMidiDataException() { super(); } /** * Constructs an {@code InvalidMidiDataException} with the specified detail * message. * * @param message the string to display as an error detail message */ ! public InvalidMidiDataException(final String message) { super(message); } }
< prev index next >