SyncFailedException.java revision 2362
040e298be5b23e77e33309d65449072183c82d5cacspike/*
040e298be5b23e77e33309d65449072183c82d5cacspike * Copyright (c) 1996, 2008, Oracle and/or its affiliates. All rights reserved.
040e298be5b23e77e33309d65449072183c82d5cacspike * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
040e298be5b23e77e33309d65449072183c82d5cacspike *
040e298be5b23e77e33309d65449072183c82d5cacspike * This code is free software; you can redistribute it and/or modify it
040e298be5b23e77e33309d65449072183c82d5cacspike * under the terms of the GNU General Public License version 2 only, as
040e298be5b23e77e33309d65449072183c82d5cacspike * published by the Free Software Foundation. Oracle designates this
040e298be5b23e77e33309d65449072183c82d5cacspike * particular file as subject to the "Classpath" exception as provided
040e298be5b23e77e33309d65449072183c82d5cacspike * by Oracle in the LICENSE file that accompanied this code.
040e298be5b23e77e33309d65449072183c82d5cacspike *
040e298be5b23e77e33309d65449072183c82d5cacspike * This code is distributed in the hope that it will be useful, but WITHOUT
040e298be5b23e77e33309d65449072183c82d5cacspike * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
040e298be5b23e77e33309d65449072183c82d5cacspike * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
040e298be5b23e77e33309d65449072183c82d5cacspike * version 2 for more details (a copy is included in the LICENSE file that
040e298be5b23e77e33309d65449072183c82d5cacspike * accompanied this code).
040e298be5b23e77e33309d65449072183c82d5cacspike *
040e298be5b23e77e33309d65449072183c82d5cacspike * You should have received a copy of the GNU General Public License version
040e298be5b23e77e33309d65449072183c82d5cacspike * 2 along with this work; if not, write to the Free Software Foundation,
040e298be5b23e77e33309d65449072183c82d5cacspike * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
040e298be5b23e77e33309d65449072183c82d5cacspike *
040e298be5b23e77e33309d65449072183c82d5cacspike * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
040e298be5b23e77e33309d65449072183c82d5cacspike * or visit www.oracle.com if you need additional information or have any
040e298be5b23e77e33309d65449072183c82d5cacspike * questions.
040e298be5b23e77e33309d65449072183c82d5cacspike */
040e298be5b23e77e33309d65449072183c82d5cacspike
040e298be5b23e77e33309d65449072183c82d5cacspikepackage java.io;
040e298be5b23e77e33309d65449072183c82d5cacspike
040e298be5b23e77e33309d65449072183c82d5cacspike/**
040e298be5b23e77e33309d65449072183c82d5cacspike * Signals that a sync operation has failed.
040e298be5b23e77e33309d65449072183c82d5cacspike *
040e298be5b23e77e33309d65449072183c82d5cacspike * @author Ken Arnold
040e298be5b23e77e33309d65449072183c82d5cacspike * @see java.io.FileDescriptor#sync
040e298be5b23e77e33309d65449072183c82d5cacspike * @see java.io.IOException
040e298be5b23e77e33309d65449072183c82d5cacspike * @since JDK1.1
040e298be5b23e77e33309d65449072183c82d5cacspike */
040e298be5b23e77e33309d65449072183c82d5cacspikepublic class SyncFailedException extends IOException {
040e298be5b23e77e33309d65449072183c82d5cacspike private static final long serialVersionUID = -2353342684412443330L;
040e298be5b23e77e33309d65449072183c82d5cacspike
040e298be5b23e77e33309d65449072183c82d5cacspike /**
040e298be5b23e77e33309d65449072183c82d5cacspike * Constructs an SyncFailedException with a detail message.
040e298be5b23e77e33309d65449072183c82d5cacspike * A detail message is a String that describes this particular exception.
040e298be5b23e77e33309d65449072183c82d5cacspike *
040e298be5b23e77e33309d65449072183c82d5cacspike * @param desc a String describing the exception.
040e298be5b23e77e33309d65449072183c82d5cacspike */
040e298be5b23e77e33309d65449072183c82d5cacspike public SyncFailedException(String desc) {
040e298be5b23e77e33309d65449072183c82d5cacspike super(desc);
040e298be5b23e77e33309d65449072183c82d5cacspike }
040e298be5b23e77e33309d65449072183c82d5cacspike}
040e298be5b23e77e33309d65449072183c82d5cacspike