public class CannotInstantiateObjectException extends WebSphereNamingException
This exception encapsulates a NameClassPair instance for the failing object as additional debug information for clients.
Constructor and Description |
---|
CannotInstantiateObjectException(java.lang.String msg)
This constructor is used to instantiate an exception of this type when
a NameClassPair instance is not available.
|
CannotInstantiateObjectException(java.lang.String msg,
javax.naming.NameClassPair nameClassPair)
This constructor is used to instantiate an exception of this type when
a NameClassPair instance is available.
|
CannotInstantiateObjectException(java.lang.String msg,
javax.naming.NameClassPair nameClassPair,
javax.naming.Reference referenceObject)
This constructor is used to instantiate an exception of this type when
a NameClassPair instance and a javax.naming.Reference are available.
|
Modifier and Type | Method and Description |
---|---|
javax.naming.NameClassPair |
getNameClassPair()
This method gets the NameClassPair for the failing serialized object.
|
javax.naming.Reference |
getReference()
This method gets the javax.naming.Reference associated with this exception if
this exception was the result of a factory call on the Reference.
|
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString
public CannotInstantiateObjectException(java.lang.String msg)
public CannotInstantiateObjectException(java.lang.String msg, javax.naming.NameClassPair nameClassPair)
public CannotInstantiateObjectException(java.lang.String msg, javax.naming.NameClassPair nameClassPair, javax.naming.Reference referenceObject)
public javax.naming.NameClassPair getNameClassPair()
public javax.naming.Reference getReference()