1
# Copyright (c) 2008 Twisted Matrix Laboratories.
2
# See LICENSE for details.
5
A trivial extension that just raises an exception.
6
See L{twisted.test.test_failure.test_failureConstructionWithMungedStackSucceeds}.
11
class RaiserException(Exception):
13
A speficic exception only used to be identified in tests.
19
Raise L{RaiserException}.
21
raise RaiserException("This function is intentionally broken")