lib/safeFile.js
function verifyFileName (fileName)
{
    // if fileName undefined or null, throw exception
    if ((fileName === undefined) || (fileName === null)) {
        var message1 = format (cc.MSG_INVALID_NAME);
        throw new SafeFileError (cc.INVALID_NAME, message1);
    }
}
function verifyFileName (fileName)
{
    // if fileName undefined or null, throw exception
    if ((fileName === undefined) || (fileName === null)) {
        var message1 = format (cc.MSG_INVALID_NAME);
        throw new SafeFileError (cc.INVALID_NAME, message1);
    }
}
function verifyFileName ( fileName ) { // if fileName undefined or null, throw exception if ( ( fileName === undefined ) || ( fileName === null ) ) { var message1 = format ( cc . MSG_INVALID_NAME ) ; throw new SafeFileError ( cc . INVALID_NAME , message1 ) ; } }
Verify fileName parameter.
@param {String} fileName Name of file to verify.
@throws SafeFileError
Verify fileName parameter .