Author: simonetripodi
Date: Sat Jun 11 20:16:31 2011
New Revision: 1134742
URL: http://svn.apache.org/viewvc?rev=1134742&view=rev
Log:
added constructor with the specified detail message and cause
Modified:
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/exception/GraphException.java
Modified:
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/exception/GraphException.java
URL:
http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/exception/GraphException.java?rev=1134742&r1=1134741&r2=1134742&view=diff
==============================================================================
---
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/exception/GraphException.java
(original)
+++
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/exception/GraphException.java
Sat Jun 11 20:16:31 2011
@@ -48,7 +48,7 @@ public class GraphException
}
/**
- * Constructs a new runtime exception with the specified cause.
+ * Constructs a new graph exception with the specified cause.
*
* @param cause the cause
*/
@@ -57,4 +57,15 @@ public class GraphException
super( cause );
}
+ /**
+ * Constructs a new graph exception with the specified detail message and
cause.
+ *
+ * @param msg the detail message.
+ * @param cause the cause
+ */
+ public GraphException( String msg, Throwable cause )
+ {
+ super( msg, cause );
+ }
+
}