first commit
This commit is contained in:
33
hrmsEjb/jxl/read/biff/BiffException.java
Normal file
33
hrmsEjb/jxl/read/biff/BiffException.java
Normal file
@@ -0,0 +1,33 @@
|
||||
package jxl.read.biff;
|
||||
|
||||
import jxl.JXLException;
|
||||
|
||||
public class BiffException extends JXLException {
|
||||
private static class BiffMessage {
|
||||
public String message;
|
||||
|
||||
BiffMessage(String m) {
|
||||
this.message = m;
|
||||
}
|
||||
}
|
||||
|
||||
static final BiffMessage unrecognizedBiffVersion = new BiffMessage("Unrecognized biff version");
|
||||
|
||||
static final BiffMessage expectedGlobals = new BiffMessage("Expected globals");
|
||||
|
||||
static final BiffMessage excelFileTooBig = new BiffMessage("Warning: not all of the excel file could be read");
|
||||
|
||||
static final BiffMessage excelFileNotFound = new BiffMessage("The input file was not found");
|
||||
|
||||
static final BiffMessage unrecognizedOLEFile = new BiffMessage("Unable to recognize OLE stream");
|
||||
|
||||
static final BiffMessage streamNotFound = new BiffMessage("Compound file does not contain the specified stream");
|
||||
|
||||
static final BiffMessage passwordProtected = new BiffMessage("The workbook is password protected");
|
||||
|
||||
static final BiffMessage corruptFileFormat = new BiffMessage("The file format is corrupt");
|
||||
|
||||
public BiffException(BiffMessage m) {
|
||||
super(m.message);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user