NonInvertibleTransformException improvements.

We only need one copy of this class, and it dang well better not be a checked
exception.
This commit is contained in:
Michael Bayne
2011-07-01 15:53:52 -07:00
parent d82f957f5c
commit ff27ebcb6a
4 changed files with 5 additions and 19 deletions
@@ -6,6 +6,7 @@ package pythagoras.d;
import java.io.Serializable;
import pythagoras.util.NoninvertibleTransformException;
import pythagoras.util.Platform;
/**
@@ -6,6 +6,7 @@ package pythagoras.f;
import java.io.Serializable;
import pythagoras.util.NoninvertibleTransformException;
import pythagoras.util.Platform;
/**
@@ -1,16 +0,0 @@
//
// Pythagoras - a collection of geometry classes
// http://github.com/samskivert/pythagoras
package pythagoras.f;
/**
* An exception thrown by {@link AffineTransform} when a request for an inverse transform cannot be
* satisfied.
*/
public class NoninvertibleTransformException extends java.lang.Exception
{
public NoninvertibleTransformException (String s) {
super(s);
}
}
@@ -2,13 +2,13 @@
// Pythagoras - a collection of geometry classes
// http://github.com/samskivert/pythagoras
package pythagoras.d;
package pythagoras.util;
/**
* An exception thrown by {@link AffineTransform} when a request for an inverse transform cannot be
* An exception thrown by {@code AffineTransform} when a request for an inverse transform cannot be
* satisfied.
*/
public class NoninvertibleTransformException extends java.lang.Exception
public class NoninvertibleTransformException extends java.lang.RuntimeException
{
public NoninvertibleTransformException (String s) {
super(s);