Gabrielle Linkherz wrote:
Well, it's the complete program.. i can compile, but When i want to input "9.8", it said Exception in thread ... at java.util.scanner, bla bla bla ...
Campbell Ritchie wrote:That is not possible. It is possible that there was a spelling mistake in the code which has been corrected in what was posted here however.
Christian Dillinger wrote:. . . Do you have two different classes with the name "Vehicle"?
sachins patil wrote:
Knute Snortum wrote:If you don't have a package statement, then you can't use the syntax packagea.ClassA syntax. So add this to ClassA:
We can do that.
Explained in book
Oracle certified associate java se8 programmer study guide by jeanne boya
Campbell Ritchie wrote:Question too difficult for “beginning”. Moving to the Oracle forum.
Rithanya Laxmi wrote:Thanks. The exception.getMessage() returns only "org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update" and not
ORA-00001. Similarly the exception.getCause() returns only "ConstraintViolationException". Hence how we can get the respective Oracle error code & message? Please clarify.