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

Class: Crypt_GPG_FileException

Source Location: /Crypt_GPG-1.6.4/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 78]
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 99]

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 115]

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 Sun, 22 Mar 2020 08:01:07 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.