Commit 750034d9 authored by Benedikt Zoennchen's avatar Benedikt Zoennchen
Browse files

replace InternalException by RuntimeException.

parent 776e2de8
Pipeline #93544 failed with stages
in 23 seconds
package org.vadere.util.geometry.shapes; package org.vadere.util.geometry.shapes;
import jdk.nashorn.internal.runtime.regexp.joni.exception.InternalException;
public class MPoint implements IPoint, Cloneable{ public class MPoint implements IPoint, Cloneable{
private VPoint point; private VPoint point;
private int hashCode = -1; private int hashCode = -1;
...@@ -163,7 +161,7 @@ public class MPoint implements IPoint, Cloneable{ ...@@ -163,7 +161,7 @@ public class MPoint implements IPoint, Cloneable{
MPoint clone = (MPoint)super.clone(); MPoint clone = (MPoint)super.clone();
return clone; return clone;
} catch (CloneNotSupportedException e) { } catch (CloneNotSupportedException e) {
throw new InternalException(e.getMessage()); throw new RuntimeException(e.getMessage());
} }
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment