home *** CD-ROM | disk | FTP | other *** search
/ Java Programmer's Toolkit / Java Programmer's Toolkit.iso / solaris2 / jdk / lib / javac.pro next >
Encoding:
Text File  |  1995-10-30  |  10.5 KB  |  312 lines

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