1 19 20 package jxl.read.biff; 21 22 import jxl.JXLException; 23 24 27 public class BiffException extends JXLException 28 { 29 32 private static class BiffMessage 33 { 34 37 public String message; 38 43 BiffMessage(String m) 44 { 45 message = m; 46 } 47 } 48 49 51 static final BiffMessage unrecognizedBiffVersion = 52 new BiffMessage("Unrecognized biff version"); 53 54 56 static final BiffMessage expectedGlobals = 57 new BiffMessage("Expected globals"); 58 59 61 static final BiffMessage excelFileTooBig = 62 new BiffMessage("Warning: not all of the excel file could be read"); 63 64 66 static final BiffMessage excelFileNotFound = 67 new BiffMessage("The input file was not found"); 68 69 71 static final BiffMessage unrecognizedOLEFile = 72 new BiffMessage("Unable to recognize OLE stream"); 73 74 76 static final BiffMessage streamNotFound = 77 new BiffMessage("Compound file does not contain the specified stream"); 78 79 81 static final BiffMessage passwordProtected = 82 new BiffMessage("The workbook is password protected"); 83 84 89 public BiffException(BiffMessage m) 90 { 91 super(m.message); 92 } 93 } 94 | Popular Tags |