686f26022130c7ba60d9a5766f0cc52a5a099ad7
[IRC.git] / Robust / src / Tests / ssJava / mp3decoder / DecoderErrors.java
1 /*\r
2  * 09/26/08     throw exception on subbband alloc error: Christopher G. Jennings (cjennings@acm.org)\r
3  * 11/19/04             1.0 moved to LGPL.\r
4  * 01/12/99             Initial version.        mdm@techie.com\r
5  *-----------------------------------------------------------------------\r
6  *   This program is free software; you can redistribute it and/or modify\r
7  *   it under the terms of the GNU Library General Public License as published\r
8  *   by the Free Software Foundation; either version 2 of the License, or\r
9  *   (at your option) any later version.\r
10  *\r
11  *   This program is distributed in the hope that it will be useful,\r
12  *   but WITHOUT ANY WARRANTY; without even the implied warranty of\r
13  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
14  *   GNU Library General Public License for more details.\r
15  *\r
16  *   You should have received a copy of the GNU Library General Public\r
17  *   License along with this program; if not, write to the Free Software\r
18  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
19  *----------------------------------------------------------------------\r
20  */\r
21 \r
22 package javazoom.jl.decoder;\r
23 \r
24 /**\r
25  * This interface provides constants describing the error\r
26  * codes used by the Decoder to indicate errors. \r
27  * \r
28  * @author      MDM\r
29  */\r
30 public interface DecoderErrors extends JavaLayerErrors\r
31 {\r
32         \r
33         static public final int UNKNOWN_ERROR = DECODER_ERROR + 0;\r
34         \r
35         /**\r
36          * Layer not supported by the decoder. \r
37          */\r
38         static public final int UNSUPPORTED_LAYER = DECODER_ERROR + 1;\r
39 \r
40     /**\r
41          * Illegal allocation in subband layer. Indicates a corrupt stream.\r
42          */\r
43         static public final int ILLEGAL_SUBBAND_ALLOCATION = DECODER_ERROR + 2;\r
44 \r
45 }\r