|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Java Conditional Command
Quote:
|
|
#2
|
|||||
|
|||||
|
Re: Java Conditional Command
Ease of debugging. An exception that tells you that one of the operands ought to be an object is more informative than a no such method error at compile. It can also be caught and allowed to run if that's what the programmer really wants. Sort of like a "do you really want to delete this? dialog.
|
|
#3
|
|||||
|
|||||
|
Re: Java Conditional Command
Quote:
|
|
#4
|
|||||
|
|||||
|
Re: Java Conditional Command
Seeing the syntax error, the normal reaction (at least on my team) would be to check for a typo of a failed import, because these are the usual causes of our syntax errors after punctuation. It would take a longer time to figure out a syntax error than a "NeitherOperandIsObject" exception.
|
|
#5
|
|||||
|
|||||
|
Re: Java Conditional Command
Quote:
Code:
The method waitUntil(IProvidesValue, Operation, IProvidesValue) in the type ConditionalWaitCommand is not applicable for the arguments (double, Operation, double) |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|