File: CdfFormatException.java

package info (click to toggle)
jcdf 1.2.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 572 kB
  • sloc: java: 5,315; makefile: 198; sh: 98
file content (34 lines) | stat: -rw-r--r-- 838 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package uk.ac.bristol.star.cdf;

import java.io.IOException;

/**
 * Exception thrown during CDF parsing when the data stream appears either
 * to be in contravention of the CDF format, or uses some feature of
 * the CDF format which is unsupported by the current implementation.
 *
 * @author   Mark Taylor
 * @since    18 Jun 2013
 */
public class CdfFormatException extends IOException {

    /**
     * Constructs an exception with a message.
     *
     * @param  msg  message
     */
    public CdfFormatException( String msg ) {
        super( msg );
    }

    /**
     * Constructs an exception with a message and a cause.
     *
     * @param  msg  message
     * @param  cause   upstream exception
     */
    public CdfFormatException( String msg, Throwable cause ) {
        super( msg );
        initCause( cause );
    }
}