Re: [api-dev] XPackageManager.addPackage(...) dealing with null and empty String

2007-10-23 Thread Tobias Krais
Hi together, >> Sounds weird. Assuming that you call the packagemanager API from Java, >> I'd expect you get a RuntimeException ("null-ref given!"). > > I have the same opinion. Using "Null" should either throw an exception, > or it should work like an empty string. Any other opinions? > > Shoul

Re: [api-dev] XPackageManager.addPackage(...) dealing with null and empty String

2007-10-17 Thread Tobias Krais
Hi Daniel and Mathias, > Sounds weird. Assuming that you call the packagemanager API from Java, > I'd expect you get a RuntimeException ("null-ref given!"). I have the same opinion. Using "Null" should either throw an exception, or it should work like an empty string. Any other opinions? Should

Re: [api-dev] XPackageManager.addPackage(...) dealing with null and empty String

2007-10-17 Thread Daniel Boelzle
Sounds weird. Assuming that you call the packagemanager API from Java, I'd expect you get a RuntimeException ("null-ref given!"). my 2 cents, Daniel Tobias Krais wrote: > Hi together, > > currently I implement a package manager in Java for deploying my UNO > extension. But I experienced some wei

Re: [api-dev] XPackageManager.addPackage(...) dealing with null and empty String

2007-10-16 Thread Mathias Bauer
Tobias Krais wrote: > Hi together, > > currently I implement a package manager in Java for deploying my UNO > extension. But I experienced some weird problems I want to share with you. > First this information: my extension is an .oxt package containing a jar > file. The problem I describe next d

[api-dev] XPackageManager.addPackage(...) dealing with null and empty String

2007-10-16 Thread Tobias Krais
Hi together, currently I implement a package manager in Java for deploying my UNO extension. But I experienced some weird problems I want to share with you. First this information: my extension is an .oxt package containing a jar file. The problem I describe next does not occur with the non-Java p