View | Details | Raw Unified | Return to bug 9426
Collapse All | Expand All

(-)Property.java (-8 / +2 lines)
Lines 63-69 Link Here
63
package org.apache.poi.hpsf;
63
package org.apache.poi.hpsf;
64
64
65
import java.util.*;
65
import java.util.*;
66
import org.apache.poi.util.LittleEndian; 
66
import org.apache.poi.util.LittleEndian;
67
67
68
/**
68
/**
69
 *  <p>
69
 *  <p>
Lines 257-269 Link Here
257
                } else if (bool == 0) {
257
                } else if (bool == 0) {
258
                    value = new Boolean(false);
258
                    value = new Boolean(false);
259
                } else {
259
                } else {
260
                    /*
260
                    throw new IllegalPropertySetDataException
261
                     *  FIXME: Someone might invent a new
262
                     *  HPSFRuntimeException subclass
263
                     *  IllegalPropertySetDataException for this and
264
                     *  similar cases.
265
                     */
266
                    throw new HPSFRuntimeException
267
                            ("Illegal property set data: A boolean must be " +
261
                            ("Illegal property set data: A boolean must be " +
268
                            "either -1 (true) or 0 (false).");
262
                            "either -1 (true) or 0 (false).");
269
                }
263
                }

Return to bug 9426