throw new BAD_OPERATION("Naming context expected");
BAD_OPERATION bad = new BAD_OPERATION("Naming context expected"); bad.initCause(ex); throw bad;
  public static NamingContext extract(Any a)  {    try      {        return ((NamingContextHolder) a.extract_Streamable()).value;      }    catch (ClassCastException ex)      {        throw new BAD_OPERATION("Naming context expected");      }  }