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

Class: Crypt_GPG_FileException

Source Location: /Crypt_GPG-0.6.0/GPG/Exceptions.php

Class Overview

PEAR_Exception
   |
   --Crypt_GPG_Exception
      |
      --Crypt_GPG_FileException

This exception is thrown when the Crypt_GPG class tries to use a file in ways it cannot be used


Author(s):

Copyright:

  • 2007 silverorange

Methods


Inherited Variables

Inherited Methods


Class Details

[line 79]
This exception is thrown when the Crypt_GPG class tries to use a file 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.



[ Top ]


Method Detail

__construct (Constructor)   [line 100]

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

Creates a new Crypt_GPG_FileException
  • Access: public

Parameters:

string   $message   —  an error message.
int   $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 Mon, 11 Mar 2019 15:19:34 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.