Allow user defined named ranges. Calling super doesn't seem to break anything and throwing the

exception prevents writing rationale files with user defined named ranges...  Open to discussion
if anyone knows why we're being so fickle here...


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@513604 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew C. Oliver 2007-03-02 02:53:06 +00:00
parent 2e4f27d57b
commit 89bfe86875

View File

@ -51,7 +51,10 @@ public class AreaNPtg
}
public void writeBytes(byte [] array, int offset) {
throw new RuntimeException("Coding Error: This method should never be called. This ptg should be converted");
super.writeBytes(array,offset);
//this should be a warning...there doesn't seem to be any rationale to throwing an exception here...
//this excpeiton appears to break user defined named ranges...
//throw new RuntimeException("Coding Error: This method should never be called. This ptg should be converted");
}
public String getAreaPtgName() {