To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.javaOpen lugnet.robotics.rcx.java in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / Java / 167
166  |  168
Subject: 
Re: Reading exceptions
Newsgroups: 
lugnet.robotics.rcx.java
Date: 
Tue, 12 Mar 2002 08:18:57 GMT
Viewed: 
3546 times
  
On Monday 11 March 2002 15:12, Jeff Nichols wrote:
Hello,

  I've recently started working with lejOS and was having some dificulty
with my code. When ever I get an exception, there is a buzz, the arrow
under the 2 lights up, and a number like "0078 8" shows up. I was wondering
how I read this number (or if i even can?) for the bug in my code.


The 0078 is the method signature number of the method where the exception was
thrown. The 8, is the least significant figure of the number referring to the
exception class thrown.

To get further information, you must add the -verbose option to the lejos
command, this will output a mapping of method signature and class numbers to
human readable names.

A gotcha is that only the least significant part of the thrown exception
class is shown, so your 8 applies to class 8, 18 and so forth if those
classes happens to be exception classes.

-- Søren

"When in doubt, it's a classpath problem."

------------------------------------------------------------------------
Søren Hilmer, M.Sc.
R&D manager Phone: +45 86 78 21 00
IT+ A/S Fax: +45 86 78 21 02
Brendstrupgårdsvej 7 Direct: +45 87 40 08 44
8200 Århus N Email: sh@itplus.dk
Denmark WWW: http://www.itplus.dk
------------------------------------------------------------------------



Message is in Reply To:
  Reading exceptions
 
Hello, I've recently started working with lejOS and was having some dificulty with my code. When ever I get an exception, there is a buzz, the arrow under the 2 lights up, and a number like "0078 8" shows up. I was wondering how I read this number (...) (23 years ago, 11-Mar-02, to lugnet.robotics.rcx.java)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR