Package org.apache.naming.resources
Class ImmutableNameNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.naming.NamingException
-
- javax.naming.NameNotFoundException
-
- org.apache.naming.resources.ImmutableNameNotFoundException
-
- All Implemented Interfaces:
Serializable
public class ImmutableNameNotFoundException extends NameNotFoundException
Immutable exception to avoid useless object creation by the proxy context. This should be used only by the proxy context. Actual contexts should return properly populated exceptions.- Version:
- $Revision: 1.2 $
- Author:
- Remy Maucherat
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
-
-
Constructor Summary
Constructors Constructor Description ImmutableNameNotFoundException()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendRemainingComponent(String name)
void
appendRemainingName(Name name)
void
setRemainingName(Name name)
void
setResolvedName(Name name)
void
setRootCause(Throwable e)
-
Methods inherited from class javax.naming.NamingException
getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setResolvedObj, toString, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
appendRemainingComponent
public void appendRemainingComponent(String name)
- Overrides:
appendRemainingComponent
in classNamingException
-
appendRemainingName
public void appendRemainingName(Name name)
- Overrides:
appendRemainingName
in classNamingException
-
setRemainingName
public void setRemainingName(Name name)
- Overrides:
setRemainingName
in classNamingException
-
setResolvedName
public void setResolvedName(Name name)
- Overrides:
setResolvedName
in classNamingException
-
setRootCause
public void setRootCause(Throwable e)
- Overrides:
setRootCause
in classNamingException
-
-