<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: java errors 37 and 3707</title>
		<atom:link href="http://cycling74.com/forums/topic/java-errors-37-and-3707/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/java-errors-37-and-3707/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 09:12:54 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/java-errors-37-and-3707/#post-62541</guid>
					<title><![CDATA[java errors 37 and 3707]]></title>
					<link>http://cycling74.com/forums/topic/java-errors-37-and-3707/#post-62541</link>
					<pubDate>Fri, 23 Mar 2012 08:06:09 +0000</pubDate>
					<dc:creator>Roald Baudoux</dc:creator>

					<description>
						<![CDATA[
						<p>Hello,</p>
<p>I am a beginner with Java programming within Max.</p>
<p>The program below has only one method and does what expected, that is printing the incoming data in the Max window.</p>
<p>However any number coming into either inlet do also produces error messages like these:</p>
<p>com.cycling74.max.MaxRuntimeException<br />
	at com.cycling74.max.MaxObject.bail(MaxObject.java:3707)<br />
	at ecran_resistif1.inlet(ecran_resistif1.java:37)</p>
<p>What causes these error messages ?</p>
<p>Thank you in advance.</p>
<p><code></code></p>
<p>	public void inlet(int i) {<br />
		if (getInlet() == 1) {<br />
			pos_y = i;<br />
			bail("pos_y = "+pos_y);<br />
		} else {<br />
			 pos_x = i;<br />
             bail("pos_x = "+pos_x);<br />
		}</p>
<p>	}</p>
<p></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/java-errors-37-and-3707/#post-225893</guid>
					<title><![CDATA[Re: java errors 37 and 3707]]></title>
					<link>http://cycling74.com/forums/topic/java-errors-37-and-3707/#post-225893</link>
					<pubDate>Fri, 23 Mar 2012 08:26:46 +0000</pubDate>
					<dc:creator>Roald Baudoux</dc:creator>

					<description>
						<![CDATA[
						<p>If I replace the bail function with post, there&#8217;s no more error message.</p>
<p>However the bail method doesn&#8217;t come from nowhere. It&#8217;s in the official Java for Max .pdf tutorial (see p. 15)</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/java-errors-37-and-3707/#post-225894</guid>
					<title><![CDATA[Re: java errors 37 and 3707]]></title>
					<link>http://cycling74.com/forums/topic/java-errors-37-and-3707/#post-225894</link>
					<pubDate>Fri, 23 Mar 2012 08:51:08 +0000</pubDate>
					<dc:creator>Jesse</dc:creator>

					<description>
						<![CDATA[
						<p>I believe bail() is to be called in the constructor only, if there is an error condition.  post() should be used to print messages to the Max window.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

