1 19 20 package jxl.write.biff; 21 22 import jxl.write.WriteException; 23 24 27 public class JxlWriteException extends WriteException 28 { 29 private static class WriteMessage 30 { 31 33 public String message; 34 39 WriteMessage(String m) {message = m;} 40 } 41 42 44 static WriteMessage formatInitialized = 45 new WriteMessage("Attempt to modify a referenced format"); 46 48 static WriteMessage cellReferenced = 49 new WriteMessage("Cell has already been added to a worksheet"); 50 51 static WriteMessage maxRowsExceeded = 52 new WriteMessage("The maximum number of rows permitted on a worksheet " + 53 "been exceeded"); 54 55 static WriteMessage maxColumnsExceeded = 56 new WriteMessage("The maximum number of columns permitted on a " + 57 "worksheet has been exceeded"); 58 59 static WriteMessage copyPropertySets = 60 new WriteMessage("Error encounted when copying additional property sets"); 61 62 67 public JxlWriteException(WriteMessage m) 68 { 69 super(m.message); 70 } 71 } 72 | Popular Tags |