aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax/naming/directory/AttributeModificationException.java
blob: 898f7a4689e2ce42aa51e3a6f516d5cfe851e687 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* Copyright (C) 2001  Free Software Foundation

   This file is part of libgcj.

This software is copyrighted work licensed under the terms of the
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
details.  */
 
package javax.naming.directory;

import javax.naming.NamingException;

/**
 * @author Warren Levy <warrenl@redhat.com>
 * @date June 14, 2001
 */

public class AttributeModificationException extends NamingException
{
  // Serialized fields.
  private ModificationItem[] unexecs;

  public AttributeModificationException ()
  {
    super ();
  }

  public AttributeModificationException (String msg)
  {
    super (msg);
  }

  public void setUnexecutedModifications(ModificationItem[] e)
  {
    unexecs = e;
  }

  public ModificationItem[] getUnexecutedModifications()
  {
    return unexecs;
  }

  public String toString()
  {
    return super.toString () + ": " + unexecs[0].toString ();
  }
}