protected String getErrorLocation(Entry entry, EntryContainer entryContainer) {
FSObject fsObject = null;
Section section = null;
if (entryContainer instanceof FSObject) {
fsObject = (FSObject) entryContainer;
final EntryContainer fsObjectParent = ((FSObject) entryContainer).getParent();
if (fsObjectParent instanceof Section) {
section = (Section) fsObjectParent;
}
} else if (entryContainer instanceof Section) {
section = (Section) entryContainer;