home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / sybase / starbuck / java.z / javac.properties < prev    next >
Text File  |  1996-05-03  |  12KB  |  329 lines

  1. #
  2. # Copyright (c) 1994-1995 by Sun Microsystems Inc.
  3. #
  4. # @(#)javac.properties    1.62 96/01/02
  5. #
  6.  
  7. javac.err.internal=\
  8.     Internal error.
  9. javac.err.eof.in.comment=\
  10.     Comment not terminated at end of input.
  11. javac.err.eof.in.string=\
  12.     String not terminated at end of input.
  13. javac.err.newline.in.string=\
  14.     String not terminated at end of line.
  15. javac.err.invalid.char.constant=\
  16.     Invalid character constant.
  17. javac.err.unbalanced.paren=\
  18.     Unbalanced parentheses.
  19. javac.err.invalid.escape.char=\
  20.     Invalid escape character.
  21. javac.err.invalid.octal.number=\
  22.     Invalid character in octal number.
  23. javac.err.invalid.number=\
  24.     Invalid character in number.
  25. javac.err.funny.char=\
  26.     Invalid character in input.
  27. javac.err.float.format=\
  28.     Invalid floating point format.
  29. javac.err.overflow=\
  30.     Numeric overflow.
  31. javac.err.underflow=\
  32.     Numeric underflow.
  33. javac.err.token.expected=\
  34.     '%s' expected.
  35. javac.err.statement.expected=\
  36.     Statement expected.
  37. javac.err.type.expected=\
  38.     Type expected.
  39. javac.err.identifier.expected=\
  40.     Identifier expected.
  41. javac.err.class.expected=\
  42.     'class' or 'interface' keyword expected.
  43. javac.err.toplevel.expected=\
  44.     Class or interface declaration expected.
  45. javac.err.missing.term=\
  46.     Missing term.
  47. javac.err.else.without.if=\
  48.     'else' without 'if'.
  49. javac.err.catch.without.try=\
  50.     'catch' without 'try'.
  51. javac.err.finally.without.try=\
  52.     'finally' without 'try'.
  53. javac.err.try.without.catch.finally=\
  54.     'try' without 'catch' or 'finally'.
  55. javac.err.case.without.switch=\
  56.     'case' outside switch statement.
  57. javac.err.default.without.switch=\
  58.     'default' outside switch statement.
  59. javac.err.io.exception=\
  60.     I/O error in %s.
  61. javac.err.array.index.required=\
  62.     Array index required.
  63. javac.err.not.array=\
  64.     [] can only be applied to arrays. It can't be applied to %s.
  65. javac.err.array.dim.in.decl=\
  66.     Can't specify array dimension in a declaration.
  67. javac.err.array.dim.in.type=\
  68.     Can't specify array dimension in a type expression.
  69. javac.err.invalid.array.expr=\
  70.     Array constants can only be used in initializers.
  71. javac.err.invalid.array.init=\
  72.     Invalid initializer for type %s.
  73. javac.err.invalid.lhs.assignment=\
  74.     Invalid left hand side of assignment.
  75. javac.err.invalid.args=\
  76.     Invalid arguments to %s.
  77. javac.err.invalid.cast=\
  78.     Invalid cast from %s to %s.
  79. javac.err.invalid.instanceof=\
  80.     Impossible for %s to be instance of %s.
  81. javac.err.invalid.type.expr=\
  82.     Invalid type expression.
  83. javac.err.invalid.field.reference=\
  84.     Attempt to reference field %s in a %s.
  85. javac.err.no.such.field=\
  86.     No variable %s defined in %s.
  87. javac.err.no.field.access=\
  88.     Variable %s in %s not accessible from %s.
  89. javac.err.no.static.field.access=\
  90.     Can't make a static reference to nonstatic variable %s in %s.
  91. javac.err.ambig.field=\
  92.     Reference to %s is ambiguous. It is defined in %s and %s.
  93. javac.err.invalid.field=\
  94.     Attempt to reference method %s in %s as an instance variable.
  95. javac.err.assign.to.final=\
  96.     Can't assign a value to a final variable: %s
  97. javac.err.undef.var=\
  98.     Undefined variable: %s
  99. javac.err.var.not.initialized=\
  100.     Variable %s may not have been initialized.
  101. javac.err.access.inst.before.super=\
  102.     Can't reference %s before the superclass constructor has been called.
  103. javac.err.ambig.class=\
  104.     Ambiguous class: %s and %s
  105. javac.err.invalid.arg=\
  106.     Invalid argument to %s.
  107. javac.err.invalid.arg.type=\
  108.     Invalid argument type %s for %s.
  109. javac.err.invalid.length=\
  110.     'length' applied to %s, which is not an array.
  111. javac.err.invalid.constr.invoke=\
  112.     Only constructors can invoke constructors.
  113. javac.err.constr.invoke.not.first=\
  114.     Constructor invocation must be the first thing in a method.
  115. javac.err.invalid.method.invoke=\
  116.     Can't invoke a method on a %s.
  117. javac.err.undef.meth=\
  118.     Method %s not found in %s.
  119. javac.err.no.meth.access=\
  120.     Method %s in %s is not accessible from %s.
  121. javac.err.no.static.meth.access=\
  122.     Can't make static reference to method %s in %s.
  123. javac.err.invalid.protected.method.use=\
  124.     Can't access protected method %s in %s. %s is not a subclass of the current class.
  125. javac.err.invalid.protected.field.use=\
  126.     Can't access protected field %s in %s. %s is not a subclass of the current class.
  127. javac.err.invalid.method=\
  128.     Reference to variable %s in %s as if it was a method.
  129. javac.err.invalid.array.dim=\
  130.     Invalid array dimension.
  131. javac.err.ambig.constr=\
  132.     Constructor is ambiguous: %s, %s
  133. javac.err.explicit.cast.needed=\
  134.     Incompatible type for %s. Explicit cast needed to convert %s to %s.
  135. javac.err.incompatible.type=\
  136.     Incompatible type for %s. Can't convert %s to %s.
  137. javac.err.invalid.term=\
  138.     Invalid term.
  139. javac.err.abstract.class=\
  140.     %s must be declared abstract. It does not define %s from %s.
  141. javac.err.abstract.class.not.final=\
  142.     %s must be declared abstract and not final. It does not define %s from %s.
  143. javac.err.new.intf=\
  144.     %s is an interface. It can't be instantiated.
  145. javac.err.invoke.abstract=\
  146.     Can't directly invoke abstract method %s in %s.
  147. javac.err.unmatched.meth=\
  148.     No method matching %s found in %s.
  149. javac.err.unmatched.constr=\
  150.     No constructor matching %s found in %s.
  151. javac.err.forward.ref=\
  152.     Can't make forward reference to %s in %s.
  153. javac.err.array.dim.missing=\
  154.     Array dimension missing.
  155. javac.err.new.abstract=\
  156.     %s is an abstract class. It can't be instantiated.
  157. javac.err.label.not.found=\
  158.     No label definition found for %s.
  159. javac.err.invalid.break=\
  160.     'break' must be in loop or switch.
  161. javac.err.invalid.continue=\
  162.     'continue' must be in loop.
  163. javac.err.invalid.decl=\
  164.     Invalid declaration.
  165. javac.err.return.with.value=\
  166.     'return' with value from %s.
  167. javac.err.return.without.value=\
  168.     'return' without value from %s.
  169. javac.err.return.inside.static.initializer=\
  170.     'return' inside static initializer.
  171. javac.err.invalid.label=\
  172.     Invalid label.
  173. javac.err.return.required.at.end=\
  174.     Return required at end of %s.
  175. javac.err.duplicate.label=\
  176.     Duplicate case label: %s
  177. javac.err.switch.overflow=\
  178.     Case label %s too large for 'switch' on %s
  179. javac.err.const.expr.required=\
  180.     Constant expression required.
  181. javac.err.duplicate.default=\
  182.     Duplicate 'default' label.
  183. javac.err.not.supported=\
  184.     '%s' not supported.
  185. javac.err.return.with.value.constr=\
  186.     'return' with value from constructor: %s
  187. javac.err.package.repeated=\
  188.     Only one package declaration allowed.
  189. javac.err.class.multidef=\
  190.     Class %s already defined in %s.
  191. javac.err.class.multidef.import=\
  192.     Class name %s clashes with imported class %s.
  193. javac.err.final.meth.override=\
  194.     Final methods can't be overriden. Method %s is final in %s.
  195. javac.err.redef.return.type=\
  196.     Method redefined with different return type: %s was %s
  197. javac.err.override.static.meth=\
  198.     Static methods can't be overridden. Method %s is static in %s.
  199. javac.err.override.instance.method.static=\
  200.         Instance methods can't be overridden by a static method.\nMethod %s is an instance method in %s.
  201. javac.err.override.public=\
  202.     Methods can't be overridden to be more private. Method %s is public in %s.
  203. javac.err.override.protected=\
  204.     Methods can't be overridden to be more private. Method %s is protected in %s.
  205. javac.err.override.private=\
  206.     Methods can't be overridden to be more private. Method %s is not private in %s.
  207. javac.err.intf.constructor=\
  208.     Interfaces can't have constructors.
  209. javac.err.constr.modifier=\
  210.     Constructors can't be native, abstract, static, synchronized, or final: %s
  211. javac.err.intf.initializer=\
  212.     Interfaces can't have static initializers.
  213. javac.err.intf.modifier.method=\
  214.     Interface methods can't be native, static, synchronized, final, private, or protected : %s
  215. javac.err.intf.modifier.field=\
  216.     Interface fields can't be private or protected: %s
  217. javac.err.transient.meth=\
  218.     Method %s can't be transient. Only variables can be transient.
  219. javac.err.volatile.meth=\
  220.     Method %s can't be volatile. Only variables can be volatile.
  221. javac.err.static.modifier=\
  222.     Static methods can't be abstract: %s
  223. javac.err.invalid.meth.body=\
  224.     Abstract and native methods can't have a body: %s
  225. javac.err.var.modifier=\
  226.     Variables can't be synchronized, abstract or native: %s
  227. javac.err.transient.modifier=\
  228.     Transient variables can't be final or static: %s
  229. javac.err.initializer.needed=\
  230.     Final variables must be initialized: %s
  231. javac.err.meth.multidef=\
  232.     Duplicate method declaration: %s
  233. javac.err.meth.redef.rettype=\
  234.     Methods can't be redefined with a different return type: %s was %s
  235. javac.err.var.multidef=\
  236.     Duplicate variable declaration: %s was %s
  237. javac.err.intf.super.class=\
  238.     Superclass of %s can't be an interface: %s
  239. javac.err.cant.access.class=\
  240.     Can't access %s. Only public classes and interfaces in other packages can be accessed.
  241. javac.err.repeated.modifier=\
  242.     Repeated modifier.
  243. javac.err.super.is.final=\
  244.     Can't subclass final classes: %s
  245. javac.err.super.is.intf=\
  246.     Can't subclass interfaces: %s
  247. javac.err.cyclic.super=\
  248.     Cyclic class inheritance.
  249. javac.err.cyclic.intf=\
  250.     Cyclic interface inheritance.
  251. javac.err.not.intf=\
  252.     %s must be an interface.
  253. javac.err.final.intf=\
  254.     Interfaces can't be final: %s
  255. javac.err.intf.impl.intf=\
  256.     An interface can't implement anything; it can only extend other interfaces.
  257. javac.err.multiple.inherit=\
  258.     Multiple inheritance is not supported.
  259. javac.err.intf.repeated=\
  260.     Interface %s repeated.
  261. javac.err.class.format=\
  262.     Invalid class file format: %s, %s
  263. javac.err.no.meth.body=\
  264.     Method %s requires a method body. Otherwise declare it as abstract.
  265. javac.err.no.constructor.body=\
  266.     Constructor %s requires a method body.
  267. javac.err.void.inst.var=\
  268.     Instance variables can't be void: %s
  269. javac.err.invalid.method.decl=\
  270.     Invalid method declaration; return type required.
  271. javac.err.super.not.found=\
  272.     Superclass %s of %s not found.
  273. javac.err.intf.not.found=\
  274.     Interface %s of %s not found.
  275. javac.err.final.abstract=\
  276.         Class %s can't be declared both abstract and final.
  277. javac.err.void.argument=\
  278.     Argument can't have type void: %s
  279. javac.err.invalid.expr=\
  280.     Invalid expression statement.
  281. javac.err.catch.not.reached=\
  282.     catch not reached.
  283. javac.err.stat.not.reached=\
  284.     Statement not reached.
  285. javac.err.arithmetic.exception=\
  286.     Arithmetic exception.
  287. javac.err.generic=\
  288.     %s
  289. javac.err.public.class.file=\
  290.     Warning: Public %s must be defined in a file called "%s".
  291. javac.err.lose.precision=\
  292.     Possible loss of precision. Use an explicit cast to convert %s to %s.
  293. javac.err.duplicate.argument=\
  294.     Variable '%s' is used twice in the argument list of this method.
  295. javac.err.local.redefined=\
  296.     Variable '%s' is already defined in this method.
  297. javac.err.private.class=\
  298.     Classes can't be private. Classes are always accessible within the current package.
  299. javac.err.recursive.constr=\
  300.     Recursive constructor invocation: %s.
  301. javac.err.wrong.class=\
  302.     File %s does not contain %s as expected, but %s. Please remove the file.
  303. javac.err.class.not.found=\
  304.     Class %s not found in %s.
  305. javac.err.package.not.found=\
  306.     Package %s not found in %s.
  307. javac.err.invalid.throws=\
  308.     Invalid exception %s in throws clause. The exception must be a subclass of an exception thrown by %s from %s.
  309. javac.err.throws.not.throwable=\
  310.     %s in throws clause must be a subclass of class java.lang.Throwable.
  311. javac.err.throw.not.throwable=\
  312.     Can't throw %s; it must be a subclass of class java.lang.Throwable.
  313. javac.err.catch.not.throwable=\
  314.     Can't catch %s; it must be a subclass of class java.lang.Throwable.
  315. javac.err.initializer.exception=\
  316.     Exception %s can't be thrown in initializer.
  317. javac.err.cant.read=\
  318.     Can't read: %s
  319. javac.err.cant.write=\
  320.     Can't write: %s
  321. javac.err.fatal.error=\
  322.     An error has occurred in the compiler; please file a bug report (java-bugs@java.sun.com).
  323. javac.err.fatal.exception=\
  324.     An exception has occurred in the compiler; please file a bug report (java-bugs@java.sun.com).
  325. javac.err.uncaught.exception=\
  326.     Exception %s must be caught, or it must be declared in the throws clause of this method.
  327. javac.err.catch.not.thrown=\
  328.     Exception %s is never thrown in the body of the corresponding try statement.
  329.