1<?xml version="1.0" encoding="ascii"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3          "DTD/xhtml1-transitional.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5<head>
6  <title>googleapiclient.errors.UnexpectedMethodError</title>
7  <link rel="stylesheet" href="epydoc.css" type="text/css" />
8  <script type="text/javascript" src="epydoc.js"></script>
9</head>
10
11<body bgcolor="white" text="black" link="blue" vlink="#204080"
12      alink="#204080">
13<!-- ==================== NAVIGATION BAR ==================== -->
14<table class="navbar" border="0" width="100%" cellpadding="0"
15       bgcolor="#a0c0ff" cellspacing="0">
16  <tr valign="middle">
17  <!-- Home link -->
18      <th>&nbsp;&nbsp;&nbsp;<a
19        href="googleapiclient-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
20
21  <!-- Tree link -->
22      <th>&nbsp;&nbsp;&nbsp;<a
23        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
24
25  <!-- Index link -->
26      <th>&nbsp;&nbsp;&nbsp;<a
27        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
28
29  <!-- Help link -->
30      <th>&nbsp;&nbsp;&nbsp;<a
31        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
32
33      <th class="navbar" width="100%"></th>
34  </tr>
35</table>
36<table width="100%" cellpadding="0" cellspacing="0">
37  <tr valign="top">
38    <td width="100%">
39      <span class="breadcrumbs">
40        <a href="googleapiclient-module.html">Package&nbsp;googleapiclient</a> ::
41        <a href="googleapiclient.errors-module.html">Module&nbsp;errors</a> ::
42        Class&nbsp;UnexpectedMethodError
43      </span>
44    </td>
45    <td>
46      <table cellpadding="0" cellspacing="0">
47        <!-- hide/show private -->
48        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
49    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
50        <tr><td align="right"><span class="options"
51            >[<a href="frames.html" target="_top">frames</a
52            >]&nbsp;|&nbsp;<a href="googleapiclient.errors.UnexpectedMethodError-class.html"
53            target="_top">no&nbsp;frames</a>]</span></td></tr>
54      </table>
55    </td>
56  </tr>
57</table>
58<!-- ==================== CLASS DESCRIPTION ==================== -->
59<h1 class="epydoc">Class UnexpectedMethodError</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#UnexpectedMethodError">source&nbsp;code</a></span></p>
60<center>
61<center>  <map id="uml_class_diagram_for_googleap_20" name="uml_class_diagram_for_googleap_20">
62<area shape="rect" id="node1_14" href="googleapiclient.errors.UnexpectedMethodError-class.html#__init__" title="Constructor for an UnexpectedMethodError." alt="" coords="17,469,199,489"/>
63<area shape="rect" id="node1" href="googleapiclient.errors.UnexpectedMethodError-class.html" title="Exception raised by RequestMockBuilder on unexpected calls." alt="" coords="5,437,211,496"/>
64<area shape="rect" id="node2" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="81,375,135,419"/>
65<area shape="rect" id="node3_15" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="29,30,185,50"/>
66<area shape="rect" id="node3_16" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="29,50,185,70"/>
67<area shape="rect" id="node3_17" href="javascript:void(0);" title="x.__delattr__(&#39;name&#39;) &lt;==&gt; del x.name" alt="" coords="29,73,185,93"/>
68<area shape="rect" id="node3_18" href="javascript:void(0);" title="x.__getattribute__(&#39;name&#39;) &lt;==&gt; x.name" alt="" coords="29,93,185,113"/>
69<area shape="rect" id="node3_19" href="javascript:void(0);" title="x[y]" alt="" coords="29,113,185,133"/>
70<area shape="rect" id="node3_20" href="javascript:void(0);" title="x[i:j]" alt="" coords="29,133,185,153"/>
71<area shape="rect" id="node3_21" href="javascript:void(0);" title="helper for pickle" alt="" coords="29,153,185,173"/>
72<area shape="rect" id="node3_22" href="javascript:void(0);" title="repr(x)" alt="" coords="29,173,185,193"/>
73<area shape="rect" id="node3_23" href="javascript:void(0);" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="29,193,185,213"/>
74<area shape="rect" id="node3_24" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="29,213,185,233"/>
75<area shape="rect" id="node3_25" href="javascript:void(0);" title="str(x)" alt="" coords="29,233,185,253"/>
76<area shape="rect" id="node3_26" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="29,253,185,273"/>
77<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="17,5,197,279"/>
78<area shape="rect" id="node4_27" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="45,329,171,349"/>
79<area shape="rect" id="node4" href="javascript:void(0);" title="Common base class for all non&#45;exit exceptions." alt="" coords="33,297,183,356"/>
80</map>
81  <img src="uml_class_diagram_for_googleap_20.gif" alt='' usemap="#uml_class_diagram_for_googleap_20" ismap="ismap" class="graph-without-title" />
82</center>
83</center>
84<hr />
85<pre class="literalblock">
86Exception raised by RequestMockBuilder on unexpected calls.
87
88</pre>
89
90<!-- ==================== INSTANCE METHODS ==================== -->
91<a name="section-InstanceMethods"></a>
92<table class="summary" border="1" cellpadding="3"
93       cellspacing="0" width="100%" bgcolor="white">
94<tr bgcolor="#70b0f0" class="table-header">
95  <td colspan="2" class="table-header">
96    <table border="0" cellpadding="0" cellspacing="0" width="100%">
97      <tr valign="top">
98        <td align="left"><span class="table-header">Instance Methods</span></td>
99        <td align="right" valign="top"
100         ><span class="options">[<a href="#section-InstanceMethods"
101         class="privatelink" onclick="toggle_private();"
102         >hide private</a>]</span></td>
103      </tr>
104    </table>
105  </td>
106</tr>
107<tr>
108    <td width="15%" align="right" valign="top" class="summary">
109      <span class="summary-type">&nbsp;</span>
110    </td><td class="summary">
111      <table width="100%" cellpadding="0" cellspacing="0" border="0">
112        <tr>
113          <td><span class="summary-sig"><a href="googleapiclient.errors.UnexpectedMethodError-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
114        <span class="summary-sig-arg">methodId</span>=<span class="summary-sig-default">None</span>)</span><br />
115      Constructor for an UnexpectedMethodError.</td>
116          <td align="right" valign="top">
117            <span class="codelink"><a href="googleapiclient.errors-pysrc.html#UnexpectedMethodError.__init__">source&nbsp;code</a></span>
118
119          </td>
120        </tr>
121      </table>
122
123    </td>
124  </tr>
125  <tr>
126    <td colspan="2" class="summary">
127    <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.Exception</code></b>:
128      <code>__new__</code>
129      </p>
130    <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
131      <code>__delattr__</code>,
132      <code>__getattribute__</code>,
133      <code>__getitem__</code>,
134      <code>__getslice__</code>,
135      <code>__reduce__</code>,
136      <code>__repr__</code>,
137      <code>__setattr__</code>,
138      <code>__setstate__</code>,
139      <code>__str__</code>,
140      <code>__unicode__</code>
141      </p>
142    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
143      <code>__format__</code>,
144      <code>__hash__</code>,
145      <code>__reduce_ex__</code>,
146      <code>__sizeof__</code>,
147      <code>__subclasshook__</code>
148      </p>
149    </td>
150  </tr>
151</table>
152<!-- ==================== PROPERTIES ==================== -->
153<a name="section-Properties"></a>
154<table class="summary" border="1" cellpadding="3"
155       cellspacing="0" width="100%" bgcolor="white">
156<tr bgcolor="#70b0f0" class="table-header">
157  <td colspan="2" class="table-header">
158    <table border="0" cellpadding="0" cellspacing="0" width="100%">
159      <tr valign="top">
160        <td align="left"><span class="table-header">Properties</span></td>
161        <td align="right" valign="top"
162         ><span class="options">[<a href="#section-Properties"
163         class="privatelink" onclick="toggle_private();"
164         >hide private</a>]</span></td>
165      </tr>
166    </table>
167  </td>
168</tr>
169  <tr>
170    <td colspan="2" class="summary">
171    <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
172      <code>args</code>,
173      <code>message</code>
174      </p>
175    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
176      <code>__class__</code>
177      </p>
178    </td>
179  </tr>
180</table>
181<!-- ==================== METHOD DETAILS ==================== -->
182<a name="section-MethodDetails"></a>
183<table class="details" border="1" cellpadding="3"
184       cellspacing="0" width="100%" bgcolor="white">
185<tr bgcolor="#70b0f0" class="table-header">
186  <td colspan="2" class="table-header">
187    <table border="0" cellpadding="0" cellspacing="0" width="100%">
188      <tr valign="top">
189        <td align="left"><span class="table-header">Method Details</span></td>
190        <td align="right" valign="top"
191         ><span class="options">[<a href="#section-MethodDetails"
192         class="privatelink" onclick="toggle_private();"
193         >hide private</a>]</span></td>
194      </tr>
195    </table>
196  </td>
197</tr>
198</table>
199<a name="__init__"></a>
200<div>
201<table class="details" border="1" cellpadding="3"
202       cellspacing="0" width="100%" bgcolor="white">
203<tr><td>
204  <table width="100%" cellpadding="0" cellspacing="0" border="0">
205  <tr valign="top"><td>
206  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
207        <span class="sig-arg">methodId</span>=<span class="sig-default">None</span>)</span>
208    <br /><em class="fname">(Constructor)</em>
209  </h3>
210  </td><td align="right" valign="top"
211    ><span class="codelink"><a href="googleapiclient.errors-pysrc.html#UnexpectedMethodError.__init__">source&nbsp;code</a></span>&nbsp;
212    </td>
213  </tr></table>
214
215  <pre class="literalblock">
216Constructor for an UnexpectedMethodError.
217
218</pre>
219  <dl class="fields">
220    <dt>Decorators:</dt>
221    <dd><ul class="nomargin-top">
222        <li><code>@util.positional(1)</code></li>
223    </ul></dd>
224    <dt>Overrides:
225        object.__init__
226    </dt>
227  </dl>
228</td></tr></table>
229</div>
230<br />
231<!-- ==================== NAVIGATION BAR ==================== -->
232<table class="navbar" border="0" width="100%" cellpadding="0"
233       bgcolor="#a0c0ff" cellspacing="0">
234  <tr valign="middle">
235  <!-- Home link -->
236      <th>&nbsp;&nbsp;&nbsp;<a
237        href="googleapiclient-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
238
239  <!-- Tree link -->
240      <th>&nbsp;&nbsp;&nbsp;<a
241        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
242
243  <!-- Index link -->
244      <th>&nbsp;&nbsp;&nbsp;<a
245        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
246
247  <!-- Help link -->
248      <th>&nbsp;&nbsp;&nbsp;<a
249        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
250
251      <th class="navbar" width="100%"></th>
252  </tr>
253</table>
254<table border="0" cellpadding="0" cellspacing="0" width="100%%">
255  <tr>
256    <td align="left" class="footer">
257    Generated by Epydoc 3.0.1 on Fri Jun 14 15:57:28 2019
258    </td>
259    <td align="right" class="footer">
260      <a target="mainFrame" href="http://epydoc.sourceforge.net"
261        >http://epydoc.sourceforge.net</a>
262    </td>
263  </tr>
264</table>
265
266<script type="text/javascript">
267  <!--
268  // Private objects are initially displayed (because if
269  // javascript is turned off then we want them to be
270  // visible); but by default, we want to hide them.  So hide
271  // them unless we have a cookie that says to show them.
272  checkCookie();
273  // -->
274</script>
275</body>
276</html>
277