2011-05-07 18:47:11 +08:00
|
|
|
# -*- coding: utf-8 -*-
|
2010-03-08 23:20:29 +08:00
|
|
|
|
|
|
|
class BrokenException(Exception):
|
|
|
|
pass
|
|
|
|
|
|
|
|
except_args = ('Broken!', # plain exception with ASCII text
|
|
|
|
u'¡Broken!', # non-ASCII unicode data
|
|
|
|
'¡Broken!', # non-ASCII, utf-8 encoded bytestring
|
|
|
|
'\xa1Broken!', ) # non-ASCII, latin1 bytestring
|
|
|
|
|