File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes integer number too large Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "integer number too large" Watch "integer number too large" New topic

integer number too large

Barb Rudnick

Joined: Feb 03, 2005
Posts: 20
The error generated during compilation of this interface makes no sense to me! Why are 01 through 07, 11, 12 and 99 valid integers and 08 is not?

Thanks in advance for your help.
Best regards, Lilee
Steven Bell
Ranch Hand

Joined: Dec 29, 2004
Posts: 1071
Placing a 0 (zero) in front of a number denotes octal representation. 8 is outside the range of octal numbers.
Barb Rudnick

Joined: Feb 03, 2005
Posts: 20
Thank you Steven.
I agree. Here's the link:
subject: integer number too large
It's not a secret anymore!