throw new Exception("Could not encode into head panel. The head panel is null.");
throw new Exception("Could not encode into system version panel. The system version panel is null.");
    private void encodeSystemVersionPanel(SystemInformationDisplay i, SystemVersionPanel p) {        if (i != null) {            if (p != null) {                encodeLabel((Label) p.getChild(SystemVersionPanel.NAME_LABEL), (String) i.getChild(SystemInformationDisplay.NAME));                encodeLabel((Label) p.getChild(SystemVersionPanel.VERSION_LABEL), (String) i.getChild(SystemInformationDisplay.VERSION));                encodeLabel((Label) p.getChild(SystemVersionPanel.DATE_LABEL), (String) i.getChild(SystemInformationDisplay.DATE));                encodeLabel((Label) p.getChild(SystemVersionPanel.SLOGAN_LABEL), (String) i.getChild(SystemInformationDisplay.SLOGAN));            } else {                throw new Exception("Could not encode into head panel. The head panel is null.");            }            } else {            throw new Exception("Could not encode into head panel. The system information is null.");        }    }