/** * Retrieves the warning chained to this <code>ResourceWarning</code> * object. * * @return next <code>ResourceWarning</code> in the chain; null if none. * * @deprecated J2SE release 1.4 supports a chained exception facility * that allows any throwable to know about another throwable, if any, * that caused it to get thrown. Refer to <code>getCause</code> and * <code>initCause</code> methods of the * <code>java.lang.Throwable</code> class. */ public ResourceWarning getLinkedWarning() { try { return ((ResourceWarning)getLinkedException()); } catch (ClassCastException ex) { return null; } }
/** * Adds an <code>ResourceWarning</code> object to the end of the chain. * * @param warning <code>ResourceWarning</code> to be added to the chain. * * @deprecated J2SE release 1.4 supports a chained exception facility * that allows any throwable to know about another throwable, if any, * that caused it to get thrown. Refer to <code>getCause</code> and * <code>initCause</code> methods of the * <code>java.lang.Throwable</code> class. */ public void setLinkedWarning(ResourceWarning warning) { setLinkedException(warning); } }
/** * Gets the linked warning. */ public ResourceWarning getLinkedWarning() { return (ResourceWarning) getCause(); }
/** * Sets the linked warning. */ public void setLinkedWarning(ResourceWarning warning) { initCause(warning); } }
/** * Set a linked warning. * * @deprecated use initCause() */ public void setLinkedWarning(ResourceWarning linkedWarning) { setLinkedException(linkedWarning); }
/** * Get any linked warning. * * @deprecated use getCause() */ public ResourceWarning getLinkedWarning() { return (ResourceWarning) getLinkedException(); } }
/** * Set a linked warning. * * @deprecated use initCause() */ public void setLinkedWarning(ResourceWarning linkedWarning) { setLinkedException(linkedWarning); }
/** * Get any linked warning. * * @deprecated use getCause() */ public ResourceWarning getLinkedWarning() { return (ResourceWarning) getLinkedException(); } }
/** * Set a linked warning. * * @deprecated use initCause() */ public void setLinkedWarning(ResourceWarning linkedWarning) { setLinkedException(linkedWarning); }
/** * Get any linked warning. * * @deprecated use getCause() */ public ResourceWarning getLinkedWarning() { return (ResourceWarning) getLinkedException(); } }
/** * Adds an <code>ResourceWarning</code> object to the end of the chain. * * @param warning <code>ResourceWarning</code> to be added to the chain. * * @deprecated J2SE release 1.4 supports a chained exception facility * that allows any throwable to know about another throwable, if any, * that caused it to get thrown. Refer to <code>getCause</code> and * <code>initCause</code> methods of the * <code>java.lang.Throwable</code> class. */ public void setLinkedWarning(ResourceWarning warning) { setLinkedException(warning); } }
/** * Retrieves the warning chained to this <code>ResourceWarning</code> * object. * * @return next <code>ResourceWarning</code> in the chain; null if none. * * @deprecated J2SE release 1.4 supports a chained exception facility * that allows any throwable to know about another throwable, if any, * that caused it to get thrown. Refer to <code>getCause</code> and * <code>initCause</code> methods of the * <code>java.lang.Throwable</code> class. */ public ResourceWarning getLinkedWarning() { try { return ((ResourceWarning)getLinkedException()); } catch (ClassCastException ex) { return null; } }
/** * Adds an <code>ResourceWarning</code> object to the end of the chain. * * @param warning <code>ResourceWarning</code> to be added to the chain. * * @deprecated J2SE release 1.4 supports a chained exception facility * that allows any throwable to know about another throwable, if any, * that caused it to get thrown. Refer to <code>getCause</code> and * <code>initCause</code> methods of the * <code>java.lang.Throwable</code> class. */ public void setLinkedWarning(ResourceWarning warning) { setLinkedException(warning); } }
/** * Retrieves the warning chained to this <code>ResourceWarning</code> * object. * * @return next <code>ResourceWarning</code> in the chain; null if none. * * @deprecated J2SE release 1.4 supports a chained exception facility * that allows any throwable to know about another throwable, if any, * that caused it to get thrown. Refer to <code>getCause</code> and * <code>initCause</code> methods of the * <code>java.lang.Throwable</code> class. */ public ResourceWarning getLinkedWarning() { try { return ((ResourceWarning)getLinkedException()); } catch (ClassCastException ex) { return null; } }
/** * Adds an <code>ResourceWarning</code> object to the end of the chain. * * @param warning <code>ResourceWarning</code> to be added to the chain. * * @deprecated J2SE release 1.4 supports a chained exception facility * that allows any throwable to know about another throwable, if any, * that caused it to get thrown. Refer to <code>getCause</code> and * <code>initCause</code> methods of the * <code>java.lang.Throwable</code> class. */ public void setLinkedWarning(ResourceWarning warning) { setLinkedException(warning); } }
/** * Retrieves the warning chained to this <code>ResourceWarning</code> * object. * * @return next <code>ResourceWarning</code> in the chain; null if none. * * @deprecated J2SE release 1.4 supports a chained exception facility * that allows any throwable to know about another throwable, if any, * that caused it to get thrown. Refer to <code>getCause</code> and * <code>initCause</code> methods of the * <code>java.lang.Throwable</code> class. */ public ResourceWarning getLinkedWarning() { try { return ((ResourceWarning)getLinkedException()); } catch (ClassCastException ex) { return null; } }
/** * Adds an <code>ResourceWarning</code> object to the end of the chain. * * @param warning <code>ResourceWarning</code> to be added to the chain. * * @deprecated J2SE release 1.4 supports a chained exception facility * that allows any throwable to know about another throwable, if any, * that caused it to get thrown. Refer to <code>getCause</code> and * <code>initCause</code> methods of the * <code>java.lang.Throwable</code> class. */ public void setLinkedWarning(ResourceWarning warning) { setLinkedException(warning); } }
/** * Retrieves the warning chained to this <code>ResourceWarning</code> * object. * * @return next <code>ResourceWarning</code> in the chain; null if none. * * @deprecated J2SE release 1.4 supports a chained exception facility * that allows any throwable to know about another throwable, if any, * that caused it to get thrown. Refer to <code>getCause</code> and * <code>initCause</code> methods of the * <code>java.lang.Throwable</code> class. */ public ResourceWarning getLinkedWarning() { try { return ((ResourceWarning)getLinkedException()); } catch (ClassCastException ex) { return null; } }
/** * Adds an <code>ResourceWarning</code> object to the end of the chain. * * @param warning <code>ResourceWarning</code> to be added to the chain. * * @deprecated J2SE release 1.4 supports a chained exception facility * that allows any throwable to know about another throwable, if any, * that caused it to get thrown. Refer to <code>getCause</code> and * <code>initCause</code> methods of the * <code>java.lang.Throwable</code> class. */ public void setLinkedWarning(ResourceWarning warning) { setLinkedException(warning); } }
/** * Retrieves the warning chained to this <code>ResourceWarning</code> * object. * * @return next <code>ResourceWarning</code> in the chain; null if none. * * @deprecated J2SE release 1.4 supports a chained exception facility * that allows any throwable to know about another throwable, if any, * that caused it to get thrown. Refer to <code>getCause</code> and * <code>initCause</code> methods of the * <code>java.lang.Throwable</code> class. */ public ResourceWarning getLinkedWarning() { try { return ((ResourceWarning)getLinkedException()); } catch (ClassCastException ex) { return null; } }