return getActionElseThrowException(id, specification);
}
}
private ObjectMember getActionElseThrowException(final Identifier id, final ObjectSpecification specification) {
final ObjectMember member =
specification.getObjectAction(ActionType.USER, id.getMemberName(), loadParameterSpecifications(id));
if (member == null) {
throw new IsisException("No user action found for id " + id);
}
return member;