ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/owl/trunk/proteinstructure/GraphFileFormatError.java
Revision: 385
Committed: Wed Nov 7 17:32:43 2007 UTC (16 years, 11 months ago) by lpetzo
File size: 1001 byte(s)
Log Message:
NEW TYPES
---------
- FileFormatError
- FastaFileFormatError
- PirFileFormatError
- AlignmentConstructionError

MODIFICATIONS
-------------
class Alignment:
- introduced new exceptions to be throw whenever file format error have been detected or any other construction errors occur
- changed accession rules of function getGapCharacter from "public" to "public static"
- new functions:
 * writeFasta
 
class CiffileFormatError:
- changed super class from Exception to the new FileFormatError class

class GraphFileFormatError:
- s. class CiffileFormatError

class PairwiseAlignmentConverter:
- added exception handling features due to class Alignment

class PairwiseAlignmentGraphConverter:
- s. class PairwiseAlignmentConverter

class PdbFileFormatError:
- s. class CifffileFormatError
Line User Rev File contents
1 duarte 208 package proteinstructure;
2    
3 lpetzo 385 public class GraphFileFormatError extends FileFormatError {
4 duarte 208
5     /**
6     * Exception to be used when reading a graph file and it is not in the right format
7     */
8     private static final long serialVersionUID = 1L;
9    
10     public GraphFileFormatError() {
11     }
12    
13     public GraphFileFormatError(String arg0) {
14     super(arg0);
15     }
16    
17     public GraphFileFormatError(Throwable arg0) {
18     super(arg0);
19     }
20    
21     public GraphFileFormatError(String arg0, Throwable arg1) {
22     super(arg0, arg1);
23     }
24 lpetzo 385
25     public GraphFileFormatError(String arg0, String file, long line ) {
26     super(arg0,file,line);
27     }
28    
29     public GraphFileFormatError(String arg0, Throwable arg1, String file, long line ) {
30     super(arg0,arg1,file,line);
31     }
32    
33     public GraphFileFormatError(String arg0, String file, long startByte, long stopByte ) {
34     super(arg0,file,startByte,stopByte);
35     }
36    
37     public GraphFileFormatError(String arg0, Throwable arg1, String file, long startByte, long stopByte ) {
38     super(arg0,arg1,file,startByte,stopByte);
39     }
40 duarte 208 }