@param level The top level processing order. Must be 0 or greater @throws IllegalArgumentException if the level was negative
(int level)
| 729 | /** @param level The top level processing order. Must be 0 or greater |
| 730 | * @throws IllegalArgumentException if the level was negative */ |
| 731 | public void setLevel(int level) { |
| 732 | if (level < 0) { |
| 733 | throw new IllegalArgumentException("Negative levels are not allowed"); |
| 734 | } |
| 735 | if (this.level != level) { |
| 736 | changed.put("level", true); |
| 737 | this.level = level; |
| 738 | } |
| 739 | } |
| 740 | |
| 741 | /** @param order The order of processing within a level. |
| 742 | * Must be 0 or greater |