|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 21.4 GB of 70.42 GB (30.39%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
usr/
lib/
python2.6/
dist-packages/
zope/
interface/
- drwxr-xr-x
|
Viewing file: exceptions.py (2.01 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
############################################################################## # # Copyright (c) 2002 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS # FOR A PARTICULAR PURPOSE. # ############################################################################## """Interface-specific exceptions
$Id: exceptions.py 110536 2010-04-06 02:59:44Z tseaver $ """
class Invalid(Exception): """A specification is violated """
class DoesNotImplement(Invalid): """ This object does not implement """ def __init__(self, interface): self.interface = interface
def __str__(self): return """An object does not implement interface %(interface)s
""" % self.__dict__
class BrokenImplementation(Invalid): """An attribute is not completely implemented. """
def __init__(self, interface, name): self.interface=interface self.name=name
def __str__(self): return """An object has failed to implement interface %(interface)s
The %(name)s attribute was not provided. """ % self.__dict__
class BrokenMethodImplementation(Invalid): """An method is not completely implemented. """
def __init__(self, method, mess): self.method=method self.mess=mess
def __str__(self): return """The implementation of %(method)s violates its contract because %(mess)s. """ % self.__dict__
class InvalidInterface(Exception): """The interface has invalid contents """
class BadImplements(TypeError): """An implementation assertion is invalid
because it doesn't contain an interface or a sequence of valid implementation assertions. """
|