Lines Matching defs:reason
152 * Adds the given printer state reason to this printer state reasons
155 * given printer state reason, the old value is replaced.
157 * @param reason Printer state reason. This must be an instance of
159 * @param severity Severity of the printer state reason. This must be
163 * reason, or <tt>null</tt> if the given printer state reason was
167 * (unchecked exception) Thrown if <CODE>reason</CODE> is null or
170 * (unchecked exception) Thrown if <CODE>reason</CODE> is not an
176 public Severity put(PrinterStateReason reason, Severity severity) {
177 if (reason == null) {
178 throw new NullPointerException("reason is null");
183 return super.put((PrinterStateReason) reason,
215 * Obtain an unmodifiable set view of the individual printer state reason