1 /*
2 * Copyright (C) The Apache Software Foundation. All rights reserved.
3 *
4 * This software is published under the terms of the Apache Software License
5 * version 1.1, a copy of which has been included with this distribution in
6 * the LICENSE file.
7 */
8 package org.apache.james.smtpserver;
9
10 import java.io.IOException;
11
12 /***
13 * This exception is used to indicate when a new MimeMessage has exceeded
14 * the maximum message size for the server, as configured in the conf file.
15 *
16 * @author Matthew Pangaro <mattp@lokitech.com>
17 * @version 0.5.1
18 */
19 public class MessageSizeException extends IOException {
20
21 /***
22 * Sole contructor for this class. This constructor sets
23 * the exception message to a fixed error message.
24 */
25 public MessageSizeException() {
26 super("Message size exceeds fixed maximum message size.");
27 }
28 }
29
This page was automatically generated by Maven