class NamingException extends NestedRuntimeException {

    public Object getResolvedObj() {
        if (getCause() instanceof javax.naming.NamingException) {
            return ((javax.naming.NamingException) getCause()).getResolvedObj();
        }
        return null;
    }

    public  NamingException(String msg);
    public  NamingException(String msg, Throwable cause);
    public  NamingException(Throwable cause);

}