NullAttributeException is a JspTagException that will be thrown by the JSTL RI handlers when a tag attribute illegally evaluates to 'null'.
209210211212213214215216217
if (o != null && clazz.isInstance(o)) return (T) o; } if (nullAttributesAreErrors()) throw new NullAttributeException(key); return null; }
234235236237238239240241242
if (o != null && clazz.isInstance(o)) return (T) o; } if (nullAttributesAreErrors()) throw new NullAttributeException(); return null; }
252253254255256257258259260
if (o != null && o instanceof CharSequence) return o.toString(); } if (nullAttributesAreErrors()) throw new NullAttributeException(key); return null; }
285286287288289290291292293
} } } if (nullAttributesAreErrors()) throw new NullAttributeException(key); return Double.NaN; }
304305306307308309310311312
if (o != null && o instanceof ArrayList) return ((ArrayList<? extends Number>) o); } if (nullAttributesAreErrors()) throw new NullAttributeException(key); return null; }
322323324325326327328329330
if (o != null && o instanceof Object[]) return ((Object[]) o); } if (nullAttributesAreErrors()) throw new NullAttributeException(key); return null; }
344345346347348349350351352
return ((CompoundAttribute) o).toHashMap(); } } if (nullAttributesAreErrors()) throw new NullAttributeException(key); return null; }