summaryrefslogtreecommitdiffstats
path: root/src/javax/vecmath/SingularMatrixException.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/javax/vecmath/SingularMatrixException.java')
-rw-r--r--src/javax/vecmath/SingularMatrixException.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/javax/vecmath/SingularMatrixException.java b/src/javax/vecmath/SingularMatrixException.java
new file mode 100644
index 0000000..339ba31
--- /dev/null
+++ b/src/javax/vecmath/SingularMatrixException.java
@@ -0,0 +1,35 @@
+/*
+ * $RCSfile$
+ *
+ * Copyright (c) 2004 Sun Microsystems, Inc. All rights reserved.
+ *
+ * Use is subject to license terms.
+ *
+ * $Revision$
+ * $Date$
+ * $State$
+ */
+
+package javax.vecmath;
+
+/**
+ * Indicates that inverse of a matrix can not be computed.
+ */
+public class SingularMatrixException extends RuntimeException{
+
+/**
+ * Create the exception object with default values.
+ */
+ public SingularMatrixException(){
+ }
+
+/**
+ * Create the exception object that outputs message.
+ * @param str the message string to be output.
+ */
+ public SingularMatrixException(String str){
+
+ super(str);
+ }
+
+}