* @throws CmdLineException if <code>value</code> is not valid.
* @see #setAttributes(int) setAttributes()
*/
public void validateValue(String val) throws CmdLineException {
super.validateValue(val);
PdfFile f = null;
try {
f = getPdfFile(val);
} catch (Exception e) {
throwIllegalValueException(val);
}
if (attrSpecified(EXISTS) && !f.getFile().exists()) {
throwIllegalValueException(val);
}
if (attrSpecified(IS_READABLE) && !f.getFile().canRead()) {
throwIllegalValueException(val);
}
if (attrSpecified(IS_WRITEABLE) && !f.getFile().canWrite()) {
throwIllegalValueException(val);
}
}