|
| 1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 | +<!--NewPage--> |
| 3 | +<HTML> |
| 4 | +<HEAD> |
| 5 | +<!-- Generated by javadoc (build 1.6.0_21) on Wed Dec 07 22:11:56 EST 2011 --> |
| 6 | +<TITLE> |
| 7 | +BrightcoveExceptionHandler (bc-java-mapi-wrapper - v4.1.0) |
| 8 | +</TITLE> |
| 9 | + |
| 10 | +<META NAME="date" CONTENT="2011-12-07"> |
| 11 | + |
| 12 | +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
| 13 | + |
| 14 | +<SCRIPT type="text/javascript"> |
| 15 | +function windowTitle() |
| 16 | +{ |
| 17 | + if (location.href.indexOf('is-external=true') == -1) { |
| 18 | + parent.document.title="BrightcoveExceptionHandler (bc-java-mapi-wrapper - v4.1.0)"; |
| 19 | + } |
| 20 | +} |
| 21 | +</SCRIPT> |
| 22 | +<NOSCRIPT> |
| 23 | +</NOSCRIPT> |
| 24 | + |
| 25 | +</HEAD> |
| 26 | + |
| 27 | +<BODY BGCOLOR="white" onload="windowTitle();"> |
| 28 | +<HR> |
| 29 | + |
| 30 | + |
| 31 | +<!-- ========= START OF TOP NAVBAR ======= --> |
| 32 | +<A NAME="navbar_top"><!-- --></A> |
| 33 | +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| 34 | +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 35 | +<TR> |
| 36 | +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 37 | +<A NAME="navbar_top_firstrow"><!-- --></A> |
| 38 | +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 39 | + <TR ALIGN="center" VALIGN="top"> |
| 40 | + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 41 | + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 42 | + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 43 | + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BrightcoveExceptionHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 44 | + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 45 | + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 46 | + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 47 | + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 48 | + </TR> |
| 49 | +</TABLE> |
| 50 | +</TD> |
| 51 | +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 52 | +</EM> |
| 53 | +</TD> |
| 54 | +</TR> |
| 55 | + |
| 56 | +<TR> |
| 57 | +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 58 | + <A HREF="../../../../com/brightcove/mediaapi/exceptions/BrightcoveException.html" title="class in com.brightcove.mediaapi.exceptions"><B>PREV CLASS</B></A> |
| 59 | + <A HREF="../../../../com/brightcove/mediaapi/exceptions/ExceptionType.html" title="enum in com.brightcove.mediaapi.exceptions"><B>NEXT CLASS</B></A></FONT></TD> |
| 60 | +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 61 | + <A HREF="../../../../index.html?com/brightcove/mediaapi/exceptions/BrightcoveExceptionHandler.html" target="_top"><B>FRAMES</B></A> |
| 62 | + <A HREF="BrightcoveExceptionHandler.html" target="_top"><B>NO FRAMES</B></A> |
| 63 | + <SCRIPT type="text/javascript"> |
| 64 | + <!-- |
| 65 | + if(window==top) { |
| 66 | + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 67 | + } |
| 68 | + //--> |
| 69 | +</SCRIPT> |
| 70 | +<NOSCRIPT> |
| 71 | + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 72 | +</NOSCRIPT> |
| 73 | + |
| 74 | + |
| 75 | +</FONT></TD> |
| 76 | +</TR> |
| 77 | +<TR> |
| 78 | +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 79 | + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 80 | +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 81 | +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 82 | +</TR> |
| 83 | +</TABLE> |
| 84 | +<A NAME="skip-navbar_top"></A> |
| 85 | +<!-- ========= END OF TOP NAVBAR ========= --> |
| 86 | + |
| 87 | +<HR> |
| 88 | +<!-- ======== START OF CLASS DATA ======== --> |
| 89 | +<H2> |
| 90 | +<FONT SIZE="-1"> |
| 91 | +com.brightcove.mediaapi.exceptions</FONT> |
| 92 | +<BR> |
| 93 | +Interface BrightcoveExceptionHandler</H2> |
| 94 | +<HR> |
| 95 | +<DL> |
| 96 | +<DT><PRE>public interface <B>BrightcoveExceptionHandler</B></DL> |
| 97 | +</PRE> |
| 98 | + |
| 99 | +<P> |
| 100 | +<p> |
| 101 | + Allows users to specify their own logic on what to do when an exception |
| 102 | + is thrown by the Media API or the Java wraper. |
| 103 | + </p> |
| 104 | +<P> |
| 105 | + |
| 106 | +<P> |
| 107 | +<DL> |
| 108 | +<DT><B>Author:</B></DT> |
| 109 | + <DD><a href="https://github.com/three4clavin">three4clavin</a></DD> |
| 110 | +</DL> |
| 111 | +<HR> |
| 112 | + |
| 113 | +<P> |
| 114 | + |
| 115 | +<!-- ========== METHOD SUMMARY =========== --> |
| 116 | + |
| 117 | +<A NAME="method_summary"><!-- --></A> |
| 118 | +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 119 | +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 120 | +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 121 | +<B>Method Summary</B></FONT></TH> |
| 122 | +</TR> |
| 123 | +<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 124 | +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 125 | +<CODE> java.lang.Boolean</CODE></FONT></TD> |
| 126 | +<TD><CODE><B><A HREF="../../../../com/brightcove/mediaapi/exceptions/BrightcoveExceptionHandler.html#handleException(com.brightcove.mediaapi.exceptions.BrightcoveException, java.lang.String)">handleException</A></B>(<A HREF="../../../../com/brightcove/mediaapi/exceptions/BrightcoveException.html" title="class in com.brightcove.mediaapi.exceptions">BrightcoveException</A> be, |
| 127 | + java.lang.String methodName)</CODE> |
| 128 | + |
| 129 | +<BR> |
| 130 | + |
| 131 | + Called whenever the Media API wrapper encounters an exception</TD> |
| 132 | +</TR> |
| 133 | +</TABLE> |
| 134 | + |
| 135 | +<P> |
| 136 | + |
| 137 | +<!-- ============ METHOD DETAIL ========== --> |
| 138 | + |
| 139 | +<A NAME="method_detail"><!-- --></A> |
| 140 | +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 141 | +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 142 | +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 143 | +<B>Method Detail</B></FONT></TH> |
| 144 | +</TR> |
| 145 | +</TABLE> |
| 146 | + |
| 147 | +<A NAME="handleException(com.brightcove.mediaapi.exceptions.BrightcoveException, java.lang.String)"><!-- --></A><H3> |
| 148 | +handleException</H3> |
| 149 | +<PRE> |
| 150 | +java.lang.Boolean <B>handleException</B>(<A HREF="../../../../com/brightcove/mediaapi/exceptions/BrightcoveException.html" title="class in com.brightcove.mediaapi.exceptions">BrightcoveException</A> be, |
| 151 | + java.lang.String methodName) |
| 152 | + throws <A HREF="../../../../com/brightcove/mediaapi/exceptions/BrightcoveException.html" title="class in com.brightcove.mediaapi.exceptions">BrightcoveException</A></PRE> |
| 153 | +<DL> |
| 154 | +<DD><p> |
| 155 | + Called whenever the Media API wrapper encounters an exception |
| 156 | + </p> |
| 157 | +<P> |
| 158 | +<DD><DL> |
| 159 | +<DT><B>Parameters:</B><DD><CODE>be</CODE> - Exception thrown by the Media API or the Java wrapper |
| 160 | +<DT><B>Returns:</B><DD>True if the wrapper method should be retries, False if the exception should be re-thrown |
| 161 | +<DT><B>Throws:</B> |
| 162 | +<DD><CODE><A HREF="../../../../com/brightcove/mediaapi/exceptions/BrightcoveException.html" title="class in com.brightcove.mediaapi.exceptions">BrightcoveException</A></CODE> - If query shouldn't be retried</DL> |
| 163 | +</DD> |
| 164 | +</DL> |
| 165 | +<!-- ========= END OF CLASS DATA ========= --> |
| 166 | +<HR> |
| 167 | + |
| 168 | + |
| 169 | +<!-- ======= START OF BOTTOM NAVBAR ====== --> |
| 170 | +<A NAME="navbar_bottom"><!-- --></A> |
| 171 | +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 172 | +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 173 | +<TR> |
| 174 | +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 175 | +<A NAME="navbar_bottom_firstrow"><!-- --></A> |
| 176 | +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 177 | + <TR ALIGN="center" VALIGN="top"> |
| 178 | + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 179 | + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 180 | + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 181 | + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BrightcoveExceptionHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 182 | + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 183 | + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 184 | + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 185 | + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 186 | + </TR> |
| 187 | +</TABLE> |
| 188 | +</TD> |
| 189 | +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 190 | +</EM> |
| 191 | +</TD> |
| 192 | +</TR> |
| 193 | + |
| 194 | +<TR> |
| 195 | +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 196 | + <A HREF="../../../../com/brightcove/mediaapi/exceptions/BrightcoveException.html" title="class in com.brightcove.mediaapi.exceptions"><B>PREV CLASS</B></A> |
| 197 | + <A HREF="../../../../com/brightcove/mediaapi/exceptions/ExceptionType.html" title="enum in com.brightcove.mediaapi.exceptions"><B>NEXT CLASS</B></A></FONT></TD> |
| 198 | +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 199 | + <A HREF="../../../../index.html?com/brightcove/mediaapi/exceptions/BrightcoveExceptionHandler.html" target="_top"><B>FRAMES</B></A> |
| 200 | + <A HREF="BrightcoveExceptionHandler.html" target="_top"><B>NO FRAMES</B></A> |
| 201 | + <SCRIPT type="text/javascript"> |
| 202 | + <!-- |
| 203 | + if(window==top) { |
| 204 | + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 205 | + } |
| 206 | + //--> |
| 207 | +</SCRIPT> |
| 208 | +<NOSCRIPT> |
| 209 | + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 210 | +</NOSCRIPT> |
| 211 | + |
| 212 | + |
| 213 | +</FONT></TD> |
| 214 | +</TR> |
| 215 | +<TR> |
| 216 | +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 217 | + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 218 | +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 219 | +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 220 | +</TR> |
| 221 | +</TABLE> |
| 222 | +<A NAME="skip-navbar_bottom"></A> |
| 223 | +<!-- ======== END OF BOTTOM NAVBAR ======= --> |
| 224 | + |
| 225 | +<HR> |
| 226 | +<i>http://opensource.brightcove.com/.</i> |
| 227 | +</BODY> |
| 228 | +</HTML> |
0 commit comments