- /*
- * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
- * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
- */
-
- package javax.mail;
-
-
- /**
- * The exception thrown when a write is attempted on a read-only attribute
- * of any Messaging object.
- *
- * @author John Mani
- */
-
- public
- class IllegalWriteException extends MessagingException {
-
- /**
- * Constructs a IllegalWriteException with no detail message.
- */
- public IllegalWriteException() {
- super();
- }
-
- /**
- * Constructs a IllegalWriteException with the specified detail message.
- * @param s the detail message
- */
- public IllegalWriteException(String s) {
- super(s);
- }
- }