Crypt_GPG
[ class tree: Crypt_GPG ] [ index: Crypt_GPG ] [ all elements ]

Class: Crypt_GPG_FileException

Source Location: /Crypt_GPG-1.4.0b4/Crypt/GPG/Exceptions.php

Class Overview

PEAR_Exception
   |
   --Crypt_GPG_Exception
      |
      --Crypt_GPG_FileException

An exception thrown when a file is used in ways it cannot be used


Author(s):

Copyright:

  • 2007-2008 silverorange

Methods


Inherited Variables

Inherited Methods


Class Details

[line 79]
An exception thrown when a file is used in ways it cannot be used

For example, if an output file is specified and the file is not writeable, or if an input file is specified and the file is not readable, this exception is thrown.



[ Top ]


Method Detail

__construct (Constructor)   [line 100]

Crypt_GPG_FileException __construct( string $message, [integer $code = 0], [string $filename = ''])

Creates a new Crypt_GPG_FileException
  • Access: public

Parameters:

string   $message     an error message.
integer   $code     a user defined error code.
string   $filename     the name of the file that caused this exception.

[ Top ]

getFilename   [line 116]

string getFilename( )

Returns the filename of the file that caused this exception
  • Return: the filename of the file that caused this exception.
  • See: Crypt_GPG_FileException::$_filename
  • Access: public

[ Top ]


Documentation generated on Wed, 13 Mar 2013 18:30:07 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.