native exception handling added
This commit is contained in:
15
modules/java/src/java/CvException.java
Normal file
15
modules/java/src/java/CvException.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package org.opencv;
|
||||
|
||||
public class CvException extends Exception {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public CvException(String msg) {
|
||||
super(msg);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "CvException [" + super.toString() + "]";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user