title: Replace <Unknown Source> in Java Rhino (JSR223) with actual file name
body: <p>In my code, all of the scripts are contained in .js files. Whenever one of the scripts contains an error, I get this:</p>
  
  <p>javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "nonexistant" is not defined. (&lt;Unknown source&gt;#5) in &lt;Unknown source&gt; at line number 5</p>
  
  <p>What bugs me is the &lt;Unknown Source&gt;. Multiple files are in one ScriptContext, and it can be hard to track down an error. It also looks horrible.</p>
  
  <p>Is there a way to replace &lt;Unknown Source&gt; with the actual file name? None of the methods I see support passing a File object, so I'm really confused  here. </p>