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 voidappendRemainingComponent(String name)voidappendRemainingName(Name name)voidsetRemainingName(Name name)voidsetResolvedName(Name name)voidsetRootCause(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:
appendRemainingComponentin classNamingException
-
appendRemainingName
public void appendRemainingName(Name name)
- Overrides:
appendRemainingNamein classNamingException
-
setRemainingName
public void setRemainingName(Name name)
- Overrides:
setRemainingNamein classNamingException
-
setResolvedName
public void setResolvedName(Name name)
- Overrides:
setResolvedNamein classNamingException
-
setRootCause
public void setRootCause(Throwable e)
- Overrides:
setRootCausein classNamingException
-
-