summaryrefslogtreecommitdiffstats
path: root/src/javax/vecmath/MismatchedSizeException.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/javax/vecmath/MismatchedSizeException.java')
-rw-r--r--src/javax/vecmath/MismatchedSizeException.java38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/javax/vecmath/MismatchedSizeException.java b/src/javax/vecmath/MismatchedSizeException.java
new file mode 100644
index 0000000..062194c
--- /dev/null
+++ b/src/javax/vecmath/MismatchedSizeException.java
@@ -0,0 +1,38 @@
+/*
+ * $RCSfile$
+ *
+ * Copyright (c) 2004 Sun Microsystems, Inc. All rights reserved.
+ *
+ * Use is subject to license terms.
+ *
+ * $Revision$
+ * $Date$
+ * $State$
+ */
+
+package javax.vecmath;
+
+/**
+ * Indicates that an operation cannot be completed properly because
+ * of a mismatch in the sizes of object attributes.
+ */
+public class MismatchedSizeException extends RuntimeException{
+
+
+/**
+ * Create the exception object with default values.
+ */
+ public MismatchedSizeException(){
+ }
+
+/**
+ * Create the exception object that outputs a message.
+ * @param str the message string to be output.
+ */
+ public MismatchedSizeException(String str){
+
+ super(str);
+ }
+
+}
+