Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
12c42ac1
Commit
12c42ac1
authored
Jul 17, 2013
by
Jan Starzynski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed strings in n1_dims(): n1_dcols() -> n1_dims()
parent
1ccfa62f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Mat.cpp
modules/java/generator/src/cpp/Mat.cpp
+3
-3
No files found.
modules/java/generator/src/cpp/Mat.cpp
View file @
12c42ac1
...
...
@@ -540,15 +540,15 @@ JNIEXPORT jint JNICALL Java_org_opencv_core_Mat_n_1dims
return
_retval_
;
}
catch
(
cv
::
Exception
e
)
{
LOGD
(
"Mat::n_1
col
s() catched cv::Exception: %s"
,
e
.
what
());
LOGD
(
"Mat::n_1
dim
s() catched cv::Exception: %s"
,
e
.
what
());
jclass
je
=
env
->
FindClass
(
"org/opencv/core/CvException"
);
if
(
!
je
)
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
e
.
what
());
return
0
;
}
catch
(...)
{
LOGD
(
"Mat::n_1
col
s() catched unknown exception (...)"
);
LOGD
(
"Mat::n_1
dim
s() catched unknown exception (...)"
);
jclass
je
=
env
->
FindClass
(
"java/lang/Exception"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1
col
s()}"
);
env
->
ThrowNew
(
je
,
"Unknown exception in JNI code {Mat::n_1
dim
s()}"
);
return
0
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment