Package trac :: Package web :: Module api :: Class HTTPException

Class HTTPException

source code

              object --+            
                       |            
exceptions.BaseException --+        
                           |        
        exceptions.Exception --+    
                               |    
              core.TracBaseError --+
                                   |
                                  HTTPException

Nested Classes
  __metaclass__
Metaclass for defining Abstract Base Classes (ABCs).
Instance Methods
 
__init__(self, detail, *args)
Factory for HTTPException classes.
source code

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Class Methods
 
subclass(cls, name, code)
Create a new Exception class representing a HTTP status code.
source code
Class Variables
  code = None
hash(x)
  __abstractmethods__ = frozenset([])
Properties
  message
  title

Inherited from exceptions.BaseException: args

Inherited from object: __class__

Method Details

__init__(self, detail, *args)
(Constructor)

source code 
Factory for HTTPException classes.
Overrides: object.__init__

Property Details

message

Get Method:
unreachable.message(self)

title

Get Method:
unreachable.title(self)