Ft.Lib.MessageSource

Classes

class UriException(Ft.FtException)
__init__(self, errorCode, *args, **kwargs)

Data and other non-method functions defined here:

INVALID_BASE_URI = 100
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_PUBLIC_ID_URN = 300
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NON_FILE_URI = 120
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
OPAQUE_BASE_URI = 112
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RELATIVE_BASE_URI = 111
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RESOURCE_ERROR = 130
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
SCHEME_REQUIRED = 200
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNIX_REMOTE_HOST_FILE_URI = 121
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNSUPPORTED_PLATFORM = 1000
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__doc__ = None
__module__ = 'Ft.Lib'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Functions

_ = lambda(s)

Data

URI = {100: 'Invalid base URI: %(base)r cannot be used to resolve reference %(ref)r', 111: 'Invalid base URI: %(base)r cannot be used to res...f)r; the base URI must be absolute, not relative.', 120: "Only a 'file' URI can be converted to an OS-specific path; URI given was %r", 121: 'A URI containing a remote host name cannot be converted to a path on posix; URI given was %r', 130: 'Error retrieving resource %(loc)r: %(msg)s', 200: 'Scheme-based resolution requires a URI with a sc... URI %(base)r nor the reference %(ref)r have one.', 300: 'A public ID cannot be derived from URN %(urn)r because it does not conform to RFC 3151.', 1000: 'Platform %r not supported by URI function %s'}
__file__ = 'build/lib.linux-ppc-2.2/Ft/Lib/MessageSource.py'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__name__ = 'Ft.Lib.MessageSource'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.