LPS-43335 getException method should return Object because there are some cases where we are passing Object that are not exceptions, like in EditFileEntryAction: SessionErrors.add(actionRequest, dle.getClass(), dle.getLock());