20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
-
+
-
+
|
* POSSIBILITY OF SUCH DAMAGE.
*/
#import "MTXLoginFailedException.h"
@implementation MTXLoginFailedException
+ (instancetype)exceptionWithUser: (OFString *)user
homeserver: (OFURL *)homeserver
homeserver: (OFIRI *)homeserver
statusCode: (int)statusCode
response: (MTXResponse)response
{
return [[[self alloc] initWithUser: user
homeserver: homeserver
statusCode: statusCode
response: response] autorelease];
}
- (instancetype)initWithUser: (OFString *)user
homeserver: (OFURL *)homeserver
homeserver: (OFIRI *)homeserver
statusCode: (int)statusCode
response: (MTXResponse)response
{
self = [super init];
@try {
_user = [user copy];
|