Browse Source

Optimize java.internal.HaxeException

杨博 11 years ago
parent
commit
e2c7279053
1 changed files with 5 additions and 0 deletions
  1. 5 0
      std/java/internal/Exceptions.hx

+ 5 - 0
std/java/internal/Exceptions.hx

@@ -61,6 +61,11 @@ class Exceptions {
 		return obj;
 		return obj;
 	}
 	}
 
 
+	@:overload @:protected override function fillInStackTrace():Throwable
+	{
+		return this;
+	}
+
 	@:overload override public function toString():String
 	@:overload override public function toString():String
 	{
 	{
 		return "Haxe Exception: " + obj;
 		return "Haxe Exception: " + obj;