Hi,

When I used java inline eval {};, I cannot get the whole exception
stack trace. For example,
eval {
  my $uri = new java::net::URI($fileURI);
};
if ( $@ ) {
  print $...@->getMessage();
  # But how can I print the whole stack trace?
}
I tried to use $...@->printStackTrace() but it kept generating the
following error: Can't call method "getStackTrace" without a package
or object reference.

Thanks for the help!

Reply via email to