Line | |
---|
1 | /*
|
---|
2 | * CorruptedInputException
|
---|
3 | *
|
---|
4 | * Author: Lasse Collin <lasse.collin@tukaani.org>
|
---|
5 | *
|
---|
6 | * This file has been put into the public domain.
|
---|
7 | * You can do whatever you want with this file.
|
---|
8 | */
|
---|
9 |
|
---|
10 | package org.tukaani.xz;
|
---|
11 |
|
---|
12 | /**
|
---|
13 | * Thrown when the compressed input data is corrupt.
|
---|
14 | * However, it is possible that some or all of the data
|
---|
15 | * already read from the input stream was corrupt too.
|
---|
16 | */
|
---|
17 | public class CorruptedInputException extends XZIOException {
|
---|
18 | private static final long serialVersionUID = 3L;
|
---|
19 |
|
---|
20 | /**
|
---|
21 | * Creates a new CorruptedInputException with
|
---|
22 | * the default error detail message.
|
---|
23 | */
|
---|
24 | public CorruptedInputException() {
|
---|
25 | super("Compressed data is corrupt");
|
---|
26 | }
|
---|
27 |
|
---|
28 | /**
|
---|
29 | * Creates a new CorruptedInputException with
|
---|
30 | * the specified error detail message.
|
---|
31 | *
|
---|
32 | * @param s error detail message
|
---|
33 | */
|
---|
34 | public CorruptedInputException(String s) {
|
---|
35 | super(s);
|
---|
36 | }
|
---|
37 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.