code: public static Context getThreadContext()
          throws EFapsException
      {
          Context context = Context.THREADCONTEXT.get();
          if (context == null) {
              context = Context.INHERITTHREADCONTEXT.get();
          }
          if (context == null) {
              throw new EFapsException(Context.class, "getThreadContext.NoContext4ThreadDefined");
          }
          return context;
      }
docs: The method checks if for the current thread a context object is defined.
  This found context object is returned.
  
  @return defined context object of current thread
  @throws EFapsException if no context object for current thread is defined
  @see #INHERITTHREADCONTEXT