Preserve the stack trace when CloneNotSupportedException impossibly happens.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@21 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2006-07-13 18:10:55 +00:00
parent 5b5fddfb50
commit 6404d3e0ab
4 changed files with 6 additions and 6 deletions
@@ -90,9 +90,9 @@ public class Portal extends SimpleStreamableObject
public Object clone ()
{
try {
return (Portal)super.clone();
return super.clone();
} catch (CloneNotSupportedException cnse) {
throw new RuntimeException("Portal.clone() failed " + cnse);
throw new RuntimeException(cnse);
}
}