This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
jose9909's profile picture

Java exception trown?

Started by jose9909, 29 January 2015 - 04:22 AM
jose9909 #1
Posted 29 January 2015 - 05:22 AM
i am trying to make a program to check the status of a Reactor, but by a reason that for me in unknow, it giver the error "Java exception trown", here`s the program`s code on Pastebin: 01ZzKskX

apparently, the error is around the 45th line
Bomb Bloke #2
Posted 29 January 2015 - 05:47 AM
reactor.getFuelAmount() calls a function, and returns a value from it. reactor.getFuelAmount simply refers to the function. You can't write that on your monitor.
jose9909 #3
Posted 29 January 2015 - 06:21 AM
oh i get it, i was trying to pull a value from a reference of the function, not the function itself, thanks Hobbyust Coder ^^
HPWebcamAble #4
Posted 30 January 2015 - 02:51 AM
Hobbyust Coder ^^

Yep the CC forum UI is confusing. His name is 'Bomb Bloke', notice the blue bar above each post.
Wanted to point this out cause it confused me for a while too