1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 package org.apache.commons.httpclient.auth;
31
32 import org.apache.commons.httpclient.ProtocolException;
33
34 /***
35 * Signals that authentication challenge is in some way invalid or
36 * illegal in the given context
37 *
38 * @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a>
39 *
40 * @since 2.0
41 */
42 public class MalformedChallengeException extends ProtocolException {
43
44 /***
45 * Creates a new MalformedChallengeException with a <tt>null</tt> detail message.
46 */
47 public MalformedChallengeException() {
48 super();
49 }
50
51 /***
52 * Creates a new MalformedChallengeException with the specified message.
53 *
54 * @param message the exception detail message
55 */
56 public MalformedChallengeException(String message) {
57 super(message);
58 }
59
60 /***
61 * Creates a new MalformedChallengeException with the specified detail message and cause.
62 *
63 * @param message the exception detail message
64 * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>
65 * if the cause is unavailable, unknown, or not a <tt>Throwable</tt>
66 *
67 * @since 3.0
68 */
69 public MalformedChallengeException(String message, Throwable cause) {
70 super(message, cause);
71 }
72 }