mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Make the use of nil for a file URL path raise an invalid argument exception
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33939 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
49c91de79d
commit
aae4782eb3
4 changed files with 33 additions and 4 deletions
|
@ -96,6 +96,7 @@ GS_EXPORT NSString* const NSURLFileScheme;
|
|||
/**
|
||||
* Initialise as a file URL with the specified path (which must
|
||||
* be a valid path on the local filesystem).<br />
|
||||
* Raises NSInvalidArgumentException if aPath is nil.<br />
|
||||
* Converts relative paths to absolute ones.<br />
|
||||
* Appends a trailing slash to the path when necessary if it
|
||||
* specifies a directory.<br />
|
||||
|
@ -107,6 +108,7 @@ GS_EXPORT NSString* const NSURLFileScheme;
|
|||
/**
|
||||
* Initialise as a file URL with the specified path (which must
|
||||
* be a valid path on the local filesystem).<br />
|
||||
* Raises NSInvalidArgumentException if aPath is nil.<br />
|
||||
* Converts relative paths to absolute ones.<br />
|
||||
* Appends a trailing slash to the path when necessary if it
|
||||
* specifies a directory.<br />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue