exception documentation
class CopyableFailure(failure.Failure, Copyable): (source)
Constructor: CopyableFailure(exc_value, exc_type, exc_tb, captureVars)
A flavors.RemoteCopy and flavors.Copyable version of twisted.python.failure.Failure for serialization.
| Method | get |
Collect state related to the exception which occurred, discarding state which cannot reasonably be serialized. |
| Class Variable | unsafe |
Undocumented |
Inherited from Failure:
| Method | __getstate__ |
Avoid pickling objects in the traceback. |
| Method | __init__ |
Initialize me with an explanation of the error. |
| Method | __reduce__ |
Undocumented |
| Method | __repr__ |
Undocumented |
| Method | __setstate__ |
Undocumented |
| Method | __str__ |
Undocumented |
| Method | check |
Check if this failure's type is in a predetermined list. |
| Method | clean |
Remove references to other objects, replacing them with strings. |
| Method | frames |
Undocumented |
| Method | get |
Undocumented |
| Method | get |
Get a string of the exception which caused this Failure. |
| Method | get |
Undocumented |
| Method | get |
Get an object that represents this Failure's stack that can be passed to traceback.extract_tb. |
| Method | parents |
Undocumented |
| Method | print |
Print a traceback as densely as possible. |
| Method | print |
Print a traceback with detailed locals and globals information. |
| Method | print |
Emulate Python's standard error reporting mechanism. |
| Method | raise |
raise the original exception, preserving traceback information if available. |
| Method | stack |
Undocumented |
| Method | throw |
Throw the original exception into the given generator, preserving traceback information if available. |
| Method | trap |
Trap this failure if its type is in a predetermined list. |
| Class Variable | pickled |
Undocumented |
| Instance Variable | __dict__ |
Undocumented |
| Instance Variable | capture |
Undocumented |
| Instance Variable | count |
Undocumented |
| Instance Variable | tb |
Undocumented |
| Instance Variable | type |
The exception's class. |
| Instance Variable | value |
The exception instance responsible for this failure. |
| Property | frames |
Undocumented |
| Property | parents |
Undocumented |
| Property | stack |
Undocumented |
| Static Method | _without |
Create a Failure for an exception without a traceback. |
| Method | _extrapolate |
Extrapolate from one failure into another, copying its stack frames. |
| Instance Variable | _frames |
Undocumented |
| Instance Variable | _parents |
Undocumented |
Inherited from Copyable (via Failure):
| Method | get |
Gather state to send when I am serialized for a particular perspective. |
| Method | get |
Determine what type tag to send for me. |
| Method | get |
Determine what type tag to send for me. |
| Method | jelly |
Assemble type tag and state to copy for this broker. |
Inherited from Serializable (via Failure, Copyable):
| Method | process |
Return an ID which uniquely represents this object for this process. |
Inherited from Jellyable (via Failure, Copyable, Serializable):
| Method | get |
Undocumented |