|
Last change
on this file since 681 was 2, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
1.3 KB
|
| Line | |
|---|
| 1 | /* Copyright (C) 2001 Free Software Foundation
|
|---|
| 2 |
|
|---|
| 3 | This file is part of libgcj.
|
|---|
| 4 |
|
|---|
| 5 | This software is copyrighted work licensed under the terms of the
|
|---|
| 6 | Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|---|
| 7 | details. */
|
|---|
| 8 |
|
|---|
| 9 | package javax.naming;
|
|---|
| 10 |
|
|---|
| 11 | import java.lang.Exception;
|
|---|
| 12 | import java.util.Hashtable;
|
|---|
| 13 |
|
|---|
| 14 | /**
|
|---|
| 15 | * @author Warren Levy <[email protected]>
|
|---|
| 16 | * @date June 14, 2001
|
|---|
| 17 | */
|
|---|
| 18 |
|
|---|
| 19 | public class CannotProceedException extends NamingException
|
|---|
| 20 | {
|
|---|
| 21 | // Serialized fields.
|
|---|
| 22 | protected Name remainingNewName;
|
|---|
| 23 | protected Hashtable environment;
|
|---|
| 24 | protected Name altName;
|
|---|
| 25 | protected Context altNameCtx;
|
|---|
| 26 |
|
|---|
| 27 | public CannotProceedException ()
|
|---|
| 28 | {
|
|---|
| 29 | super ();
|
|---|
| 30 | }
|
|---|
| 31 |
|
|---|
| 32 | public CannotProceedException (String msg)
|
|---|
| 33 | {
|
|---|
| 34 | super (msg);
|
|---|
| 35 | }
|
|---|
| 36 |
|
|---|
| 37 | public Hashtable getEnvironment()
|
|---|
| 38 | {
|
|---|
| 39 | return environment;
|
|---|
| 40 | }
|
|---|
| 41 |
|
|---|
| 42 | public void setEnvironment(Hashtable environment)
|
|---|
| 43 | {
|
|---|
| 44 | this.environment = environment;
|
|---|
| 45 | }
|
|---|
| 46 |
|
|---|
| 47 | public Name getRemainingNewName()
|
|---|
| 48 | {
|
|---|
| 49 | return remainingNewName;
|
|---|
| 50 | }
|
|---|
| 51 |
|
|---|
| 52 | public void setRemainingNewName(Name newName)
|
|---|
| 53 | {
|
|---|
| 54 | remainingNewName = (Name) newName.clone();
|
|---|
| 55 | }
|
|---|
| 56 |
|
|---|
| 57 | public Name getAltName()
|
|---|
| 58 | {
|
|---|
| 59 | return altName;
|
|---|
| 60 | }
|
|---|
| 61 |
|
|---|
| 62 | public void setAltName(Name altName)
|
|---|
| 63 | {
|
|---|
| 64 | this.altName = altName;
|
|---|
| 65 | }
|
|---|
| 66 |
|
|---|
| 67 | public Context getAltNameCtx()
|
|---|
| 68 | {
|
|---|
| 69 | return altNameCtx;
|
|---|
| 70 | }
|
|---|
| 71 |
|
|---|
| 72 | public void setAltNameCtx(Context altNameCtx)
|
|---|
| 73 | {
|
|---|
| 74 | this.altNameCtx = altNameCtx;
|
|---|
| 75 | }
|
|---|
| 76 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.