src/jdk/nashorn/internal/runtime/resources/Messages.properties

Print this page
rev 752 : 8011964: need indexed access to externally-managed ByteBuffer
Reviewed-by: lagergren, hannesw
rev 759 : 8015958: DataView constructor is not defined
Reviewed-by: attila, hannesw, lagergren


  61 
  62 # strict mode error messages
  63 parser.error.strict.no.with="with" statement cannot be used in strict mode
  64 parser.error.strict.name="{0}" cannot be used as {1} in strict mode
  65 parser.error.strict.cant.delete.ident=cannot delete identifier "{0}" in strict mode
  66 parser.error.strict.param.redefinition=strict mode function cannot have duplicate parameter name "{0}"
  67 parser.error.strict.no.octal=cannot use octal value in strict mode
  68 parser.error.strict.no.func.decl.here=In strict mode, function declarations can only occur at program or function body level. You should use a function expression here instead.
  69 type.error.strict.getter.setter.poison=In strict mode, "caller", "callee", and "arguments" properties can not be accessed on functions or the arguments object
  70 
  71 # not the expected type in a given context
  72 type.error.not.an.object={0} is not an Object
  73 type.error.not.a.boolean={0} is not a Boolean
  74 type.error.not.a.date={0} is not a Date
  75 type.error.not.a.number={0} is not a Number
  76 type.error.not.a.regexp={0} is not a RegExp
  77 type.error.not.a.string={0} is not a String
  78 type.error.not.a.function={0} is not a function
  79 type.error.not.a.constructor={0} is not a constructor function
  80 type.error.not.a.file={0} is not a File


  81 
  82 # operations not permitted on undefined
  83 type.error.cant.call.undefined=Cannot call undefined
  84 type.error.cant.read.property.of.undefined=Cannot read property "{0}" from undefined
  85 type.error.cant.set.property.of.undefined=Cannot set property "{0}" of undefined
  86 type.error.cant.delete.property.of.undefined=Cannot delete property "{0}" of undefined
  87 
  88 # other wrong usages of property
  89 type.error.property.has.no.setter=Cannot set property "{0}" of {1} that has only a getter
  90 type.error.cant.set.proto.to.non.object=Cannot set Object {0}'s __proto__ to be a non-object like {1}
  91 type.error.no.such.function={1} has no such function "{0}"
  92 type.error.cant.get.property=Cannot get property "{0}" of {1}
  93 type.error.cant.set.property=Cannot set property "{0}" of {1}
  94 type.error.cant.delete.property=Cannot delete property "{0}" of {1}
  95 type.error.cant.redefine.property=Cannot redefine property "{0}" of {1}
  96 type.error.property.not.writable="{0}" is not a writable property of {1}
  97 type.error.object.non.extensible=Cannot add new property "{0}" to non-extensible {1}
  98 type.error.__proto__.set.non.extensible=Cannot set __proto__ of non-extensible {0}
  99 type.error.circular.__proto__.set=Cannot create__proto__ cycle for {0}
 100 


 119 type.error.cant.convert.string.to.char=Cannot convert string to character; its length must be exactly 1
 120 type.error.cant.convert.number.to.char=Cannot convert number to character; it's out of 0-65535 range
 121 type.error.cant.convert.to.java.string=Cannot convert object of type {0} to a Java argument of string type
 122 type.error.cant.convert.to.java.number=Cannot convert object of type {0} to a Java argument of number type
 123 type.error.cant.convert.to.javascript.array=Can only convert Java arrays and lists to JavaScript arrays. Can't convert object of type {0}.
 124 type.error.extend.expects.at.least.one.argument=Java.extend needs at least one argument.
 125 type.error.extend.expects.at.least.one.type.argument=Java.extend needs at least one type argument.
 126 type.error.extend.expects.java.types=Java.extend needs Java types as its arguments.
 127 type.error.extend.ambiguous.defining.class=There is no class loader that can see all of {0} at once.
 128 type.error.extend.ERROR_FINAL_CLASS=Can not extend final class {0}.
 129 type.error.extend.ERROR_NON_PUBLIC_CLASS=Can not extend/implement non-public class/interface {0}.
 130 type.error.extend.ERROR_NO_ACCESSIBLE_CONSTRUCTOR=Can not extend class {0} as it has no public or protected constructors.
 131 type.error.extend.ERROR_MULTIPLE_SUPERCLASSES=Can not extend multiple classes {0}. At most one of the specified types can be a class, the rest must all be interfaces.
 132 type.error.extend.ERROR_NO_COMMON_LOADER=Can not find a common class loader for ScriptObject and {0}.
 133 type.error.extend.ERROR_FINAL_FINALIZER=Can not extend class because {0} has a final finalize method.
 134 type.error.no.constructor.matches.args=Can not construct {0} with the passed arguments; they do not match any of its constructor signatures.
 135 type.error.no.method.matches.args=Can not invoke method {0} with the passed arguments; they do not match any of its method signatures.
 136 type.error.method.not.constructor=Java method {0} can't be used as a constructor.
 137 type.error.env.not.object=$ENV must be an Object.
 138 type.error.unsupported.java.to.type=Unsupported Java.to target type {0}.



 139 range.error.inappropriate.array.length=inappropriate array length: {0}
 140 range.error.inappropriate.array.buffer.length=inappropriate array buffer length: {0}
 141 range.error.invalid.fraction.digits=fractionDigits argument to {0} must be in [0, 20]
 142 range.error.invalid.precision=precision argument toPrecision() must be in [1, 21]
 143 range.error.invalid.radix=radix argument must be in [2, 36]
 144 range.error.invalid.date=Invalid Date
 145 range.error.too.many.errors=Script contains too many errors: {0} errors
 146 
 147 reference.error.not.defined="{0}" is not defined
 148 reference.error.cant.be.used.as.lhs="{0}" can not be used as the left-hand side of assignment
 149 
 150 syntax.error.invalid.json=Invalid JSON: {0}
 151 syntax.error.strict.cant.delete=cannot delete "{0}" in strict mode
 152 
 153 io.error.cant.write=cannot write "{0}"
 154 config.error.no.dest=no destination directory supplied
 155 
 156 uri.error.bad.uri=Bad URI "{0}" near offset {1}
 157 


  61 
  62 # strict mode error messages
  63 parser.error.strict.no.with="with" statement cannot be used in strict mode
  64 parser.error.strict.name="{0}" cannot be used as {1} in strict mode
  65 parser.error.strict.cant.delete.ident=cannot delete identifier "{0}" in strict mode
  66 parser.error.strict.param.redefinition=strict mode function cannot have duplicate parameter name "{0}"
  67 parser.error.strict.no.octal=cannot use octal value in strict mode
  68 parser.error.strict.no.func.decl.here=In strict mode, function declarations can only occur at program or function body level. You should use a function expression here instead.
  69 type.error.strict.getter.setter.poison=In strict mode, "caller", "callee", and "arguments" properties can not be accessed on functions or the arguments object
  70 
  71 # not the expected type in a given context
  72 type.error.not.an.object={0} is not an Object
  73 type.error.not.a.boolean={0} is not a Boolean
  74 type.error.not.a.date={0} is not a Date
  75 type.error.not.a.number={0} is not a Number
  76 type.error.not.a.regexp={0} is not a RegExp
  77 type.error.not.a.string={0} is not a String
  78 type.error.not.a.function={0} is not a function
  79 type.error.not.a.constructor={0} is not a constructor function
  80 type.error.not.a.file={0} is not a File
  81 type.error.not.a.bytebuffer={0} is not a java.nio.ByteBuffer
  82 type.error.not.an.arraybuffer.in.dataview=First arg to DataView constructor must be an ArrayBuffer
  83 
  84 # operations not permitted on undefined
  85 type.error.cant.call.undefined=Cannot call undefined
  86 type.error.cant.read.property.of.undefined=Cannot read property "{0}" from undefined
  87 type.error.cant.set.property.of.undefined=Cannot set property "{0}" of undefined
  88 type.error.cant.delete.property.of.undefined=Cannot delete property "{0}" of undefined
  89 
  90 # other wrong usages of property
  91 type.error.property.has.no.setter=Cannot set property "{0}" of {1} that has only a getter
  92 type.error.cant.set.proto.to.non.object=Cannot set Object {0}'s __proto__ to be a non-object like {1}
  93 type.error.no.such.function={1} has no such function "{0}"
  94 type.error.cant.get.property=Cannot get property "{0}" of {1}
  95 type.error.cant.set.property=Cannot set property "{0}" of {1}
  96 type.error.cant.delete.property=Cannot delete property "{0}" of {1}
  97 type.error.cant.redefine.property=Cannot redefine property "{0}" of {1}
  98 type.error.property.not.writable="{0}" is not a writable property of {1}
  99 type.error.object.non.extensible=Cannot add new property "{0}" to non-extensible {1}
 100 type.error.__proto__.set.non.extensible=Cannot set __proto__ of non-extensible {0}
 101 type.error.circular.__proto__.set=Cannot create__proto__ cycle for {0}
 102 


 121 type.error.cant.convert.string.to.char=Cannot convert string to character; its length must be exactly 1
 122 type.error.cant.convert.number.to.char=Cannot convert number to character; it's out of 0-65535 range
 123 type.error.cant.convert.to.java.string=Cannot convert object of type {0} to a Java argument of string type
 124 type.error.cant.convert.to.java.number=Cannot convert object of type {0} to a Java argument of number type
 125 type.error.cant.convert.to.javascript.array=Can only convert Java arrays and lists to JavaScript arrays. Can't convert object of type {0}.
 126 type.error.extend.expects.at.least.one.argument=Java.extend needs at least one argument.
 127 type.error.extend.expects.at.least.one.type.argument=Java.extend needs at least one type argument.
 128 type.error.extend.expects.java.types=Java.extend needs Java types as its arguments.
 129 type.error.extend.ambiguous.defining.class=There is no class loader that can see all of {0} at once.
 130 type.error.extend.ERROR_FINAL_CLASS=Can not extend final class {0}.
 131 type.error.extend.ERROR_NON_PUBLIC_CLASS=Can not extend/implement non-public class/interface {0}.
 132 type.error.extend.ERROR_NO_ACCESSIBLE_CONSTRUCTOR=Can not extend class {0} as it has no public or protected constructors.
 133 type.error.extend.ERROR_MULTIPLE_SUPERCLASSES=Can not extend multiple classes {0}. At most one of the specified types can be a class, the rest must all be interfaces.
 134 type.error.extend.ERROR_NO_COMMON_LOADER=Can not find a common class loader for ScriptObject and {0}.
 135 type.error.extend.ERROR_FINAL_FINALIZER=Can not extend class because {0} has a final finalize method.
 136 type.error.no.constructor.matches.args=Can not construct {0} with the passed arguments; they do not match any of its constructor signatures.
 137 type.error.no.method.matches.args=Can not invoke method {0} with the passed arguments; they do not match any of its method signatures.
 138 type.error.method.not.constructor=Java method {0} can't be used as a constructor.
 139 type.error.env.not.object=$ENV must be an Object.
 140 type.error.unsupported.java.to.type=Unsupported Java.to target type {0}.
 141 
 142 range.error.dataview.constructor.offset=Wrong offset or length in DataView constructor
 143 range.error.dataview.offset=Offset is outside the bounds of the DataView
 144 range.error.inappropriate.array.length=inappropriate array length: {0}
 145 range.error.inappropriate.array.buffer.length=inappropriate array buffer length: {0}
 146 range.error.invalid.fraction.digits=fractionDigits argument to {0} must be in [0, 20]
 147 range.error.invalid.precision=precision argument toPrecision() must be in [1, 21]
 148 range.error.invalid.radix=radix argument must be in [2, 36]
 149 range.error.invalid.date=Invalid Date
 150 range.error.too.many.errors=Script contains too many errors: {0} errors
 151 
 152 reference.error.not.defined="{0}" is not defined
 153 reference.error.cant.be.used.as.lhs="{0}" can not be used as the left-hand side of assignment
 154 
 155 syntax.error.invalid.json=Invalid JSON: {0}
 156 syntax.error.strict.cant.delete=cannot delete "{0}" in strict mode
 157 
 158 io.error.cant.write=cannot write "{0}"
 159 config.error.no.dest=no destination directory supplied
 160 
 161 uri.error.bad.uri=Bad URI "{0}" near offset {1}
 162