< prev index next >

src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Messages.properties

Print this page




  61 parser.error.missing.const.assignment=Missing assignment to constant "{0}"
  62 
  63 # strict mode error messages
  64 parser.error.strict.no.with="with" statement cannot be used in strict mode
  65 parser.error.strict.name="{0}" cannot be used as {1} in strict mode
  66 parser.error.strict.cant.delete.ident=cannot delete identifier "{0}" in strict mode
  67 parser.error.strict.param.redefinition=strict mode function cannot have duplicate parameter name "{0}"
  68 parser.error.strict.no.octal=cannot use octal value in strict mode
  69 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.
  70 type.error.strict.getter.setter.poison=In strict mode, "caller", "callee", and "arguments" properties can not be accessed on functions or the arguments object
  71 
  72 # not the expected type in a given context
  73 type.error.not.an.object={0} is not an Object
  74 type.error.not.a.boolean={0} is not a Boolean
  75 type.error.not.a.date={0} is not a Date
  76 type.error.not.a.java.importer={0} is not a JavaImporter object
  77 type.error.not.a.number={0} is not a Number
  78 type.error.not.a.regexp={0} is not a RegExp
  79 type.error.not.a.string={0} is not a String
  80 type.error.not.a.function={0} is not a function

  81 type.error.not.a.constructor={0} is not a constructor function
  82 type.error.not.a.file={0} is not a File
  83 type.error.not.a.numeric.array={0} is not a numeric array
  84 type.error.not.a.bytebuffer={0} is not a java.nio.ByteBuffer
  85 type.error.not.an.arraybuffer.in.dataview=First argument to DataView constructor must be an ArrayBuffer
  86 type.error.no.reflection.with.classfilter=Java reflection not supported when class filter is present
  87 
  88 # operations not permitted on undefined
  89 type.error.cant.call.undefined=Cannot call undefined
  90 type.error.cant.call.undefined.arg=Cannot call "{0}" that has undefined value
  91 type.error.cant.read.property.of.undefined=Cannot read property "{0}" from undefined
  92 type.error.cant.set.property.of.undefined=Cannot set property "{0}" of undefined
  93 type.error.cant.delete.property.of.undefined=Cannot delete property "{0}" of undefined
  94 
  95 # other wrong usages of property
  96 type.error.property.has.no.setter=Cannot set property "{0}" of {1} that has only a getter
  97 type.error.cant.set.proto.to.non.object=Cannot set Object {0}''s __proto__ to be a non-object like {1}
  98 type.error.no.such.function={1} has no such function "{0}"
  99 type.error.no.such.java.class=No such Java class: {0}
 100 type.error.no.such.java.constructor=No such Java constructor: {0}
 101 type.error.improper.constructor.signature=Java constructor signature invalid: {0}
 102 type.error.cant.get.property=Cannot get property "{0}" of {1}
 103 type.error.cant.set.property=Cannot set property "{0}" of {1}
 104 type.error.cant.delete.property=Cannot delete property "{0}" of {1}
 105 type.error.cant.redefine.property=Cannot redefine property "{0}" of {1}
 106 type.error.property.not.writable="{0}" is not a writable property of {1}
 107 type.error.object.non.extensible=Cannot add new property "{0}" to non-extensible {1}
 108 type.error.__proto__.set.non.extensible=Cannot set __proto__ of non-extensible {0}
 109 type.error.circular.__proto__.set=Cannot create__proto__ cycle for {0}
 110 




  61 parser.error.missing.const.assignment=Missing assignment to constant "{0}"
  62 
  63 # strict mode error messages
  64 parser.error.strict.no.with="with" statement cannot be used in strict mode
  65 parser.error.strict.name="{0}" cannot be used as {1} in strict mode
  66 parser.error.strict.cant.delete.ident=cannot delete identifier "{0}" in strict mode
  67 parser.error.strict.param.redefinition=strict mode function cannot have duplicate parameter name "{0}"
  68 parser.error.strict.no.octal=cannot use octal value in strict mode
  69 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.
  70 type.error.strict.getter.setter.poison=In strict mode, "caller", "callee", and "arguments" properties can not be accessed on functions or the arguments object
  71 
  72 # not the expected type in a given context
  73 type.error.not.an.object={0} is not an Object
  74 type.error.not.a.boolean={0} is not a Boolean
  75 type.error.not.a.date={0} is not a Date
  76 type.error.not.a.java.importer={0} is not a JavaImporter object
  77 type.error.not.a.number={0} is not a Number
  78 type.error.not.a.regexp={0} is not a RegExp
  79 type.error.not.a.string={0} is not a String
  80 type.error.not.a.function={0} is not a function
  81 type.error.not.a.function.value={0}, which has value {1}, is not a function
  82 type.error.not.a.constructor={0} is not a constructor function
  83 type.error.not.a.file={0} is not a File
  84 type.error.not.a.numeric.array={0} is not a numeric array
  85 type.error.not.a.bytebuffer={0} is not a java.nio.ByteBuffer
  86 type.error.not.an.arraybuffer.in.dataview=First argument to DataView constructor must be an ArrayBuffer
  87 type.error.no.reflection.with.classfilter=Java reflection not supported when class filter is present
  88 
  89 # operations not permitted on undefined
  90 type.error.cant.call.undefined=Cannot call undefined

  91 type.error.cant.read.property.of.undefined=Cannot read property "{0}" from undefined
  92 type.error.cant.set.property.of.undefined=Cannot set property "{0}" of undefined
  93 type.error.cant.delete.property.of.undefined=Cannot delete property "{0}" of undefined
  94 
  95 # other wrong usages of property
  96 type.error.property.has.no.setter=Cannot set property "{0}" of {1} that has only a getter
  97 type.error.cant.set.proto.to.non.object=Cannot set Object {0}''s __proto__ to be a non-object like {1}
  98 type.error.no.such.function={1} has no such function "{0}"
  99 type.error.no.such.java.class=No such Java class: {0}
 100 type.error.no.such.java.constructor=No such Java constructor: {0}
 101 type.error.improper.constructor.signature=Java constructor signature invalid: {0}
 102 type.error.cant.get.property=Cannot get property "{0}" of {1}
 103 type.error.cant.set.property=Cannot set property "{0}" of {1}
 104 type.error.cant.delete.property=Cannot delete property "{0}" of {1}
 105 type.error.cant.redefine.property=Cannot redefine property "{0}" of {1}
 106 type.error.property.not.writable="{0}" is not a writable property of {1}
 107 type.error.object.non.extensible=Cannot add new property "{0}" to non-extensible {1}
 108 type.error.__proto__.set.non.extensible=Cannot set __proto__ of non-extensible {0}
 109 type.error.circular.__proto__.set=Cannot create__proto__ cycle for {0}
 110 


< prev index next >