I'm a new user of jSmile. I would like to ask about new method in DataSet class - matchNetwork method. It throws SMILEException only when the data and the network are different. It doesn't support the situation when the network or data are null or empty. Am I right?
Thanks in advance for help.
[jSmile] DataSet.matchNetwork documentation.
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: [jSmile] DataSet.matchNetwork documentation.
Generally, you'll get SMILEException when wrapped native SMILE method has finished and returned error code. In your case, passing null as network or data will most likely cause a crash. If you're getting SMILEException, you can call getMessage to get human-readable description of the problem - note that matchNetwork will succeed only if all columns in dataset can be matched to nodes in specified network.