aboutsummaryrefslogtreecommitdiff
path: root/src/uk/org/ury/protocol/exceptions/InvalidMessageException.java
blob: 3cf11050637c5fe7171128c826e3b52dd3210183 (plain)
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
31
32
33
/**
 * 
 */
package uk.org.ury.protocol.exceptions;


/**
 * Generic exception thrown when a protocol function cannot process a 
 * message due to an issue with the message.
 * 
 * @author  Matt Windsor
 */

public class InvalidMessageException extends Exception
{
  /**
   * 
   */
  private static final long serialVersionUID = -3972492943653273528L;

  
  /**
   * Construct a new InvalidMessageException with a reason.
   * 
   * @param reason  The reason for throwing the exception.
   */
  
  public
  InvalidMessageException (String reason)
  {
    super (reason);
  }
}