public Engine(String id, Context context) { super(); if (!context.isFrozen()) { throw new CTDApiException(ENGINE_CONTEXT_NOT_FROZEN); } this.context = context; this.id = id; }