jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/org/jvnet/mimepull/DecodingException.java
author mkos
Fri, 30 Oct 2015 10:34:46 +0100
changeset 33547 e4c76ac38b12
parent 25871 b80b84e87032
permissions -rw-r--r--
8139743: Update JAX-WS RI integration to latest version (2.3.0-SNAPSHOT) Reviewed-by: lancea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16791
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
     1
/*
33547
e4c76ac38b12 8139743: Update JAX-WS RI integration to latest version (2.3.0-SNAPSHOT)
mkos
parents: 25871
diff changeset
     2
 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
16791
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
     4
 *
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    10
 *
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    15
 * accompanied this code).
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    16
 *
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    20
 *
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    23
 * questions.
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    24
 */
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    25
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    26
/* FROM mail.jar */
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    27
package com.sun.xml.internal.org.jvnet.mimepull;
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    28
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    29
import java.io.IOException;
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    30
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    31
/**
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    32
 * A special IOException that indicates a failure to decode data due
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    33
 * to an error in the formatting of the data.  This allows applications
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    34
 * to distinguish decoding errors from other I/O errors.
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    35
 *
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    36
 * @author Bill Shannon
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    37
 */
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    38
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    39
public final class DecodingException extends IOException {
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    40
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    41
    /**
33547
e4c76ac38b12 8139743: Update JAX-WS RI integration to latest version (2.3.0-SNAPSHOT)
mkos
parents: 25871
diff changeset
    42
     * Constructs a {@code DecodingException} with the specified detail message.
e4c76ac38b12 8139743: Update JAX-WS RI integration to latest version (2.3.0-SNAPSHOT)
mkos
parents: 25871
diff changeset
    43
     *
e4c76ac38b12 8139743: Update JAX-WS RI integration to latest version (2.3.0-SNAPSHOT)
mkos
parents: 25871
diff changeset
    44
     * @param message
e4c76ac38b12 8139743: Update JAX-WS RI integration to latest version (2.3.0-SNAPSHOT)
mkos
parents: 25871
diff changeset
    45
     *        The detail message
16791
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    46
     */
33547
e4c76ac38b12 8139743: Update JAX-WS RI integration to latest version (2.3.0-SNAPSHOT)
mkos
parents: 25871
diff changeset
    47
    public DecodingException(String message) {
e4c76ac38b12 8139743: Update JAX-WS RI integration to latest version (2.3.0-SNAPSHOT)
mkos
parents: 25871
diff changeset
    48
            super(message);
16791
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    49
    }
fe5141eabb0e 8010393: Update JAX-WS RI to 2.2.9-b12941
alanb
parents:
diff changeset
    50
}