예제 #1
0
 public override TermsEnum GetTermsEnum()
 {
     try
     {
         return(outerInstance.GetOrdTermsEnum(reader));
     }
     catch (Exception e) when(e.IsIOException())
     {
         throw RuntimeException.Create(e);
     }
 }
예제 #2
0
            public override TermsEnum GetTermsEnum()
            {
                try
                {
                    return(outerInstance.GetOrdTermsEnum(reader));
                }
#pragma warning disable 168
                catch (IOException e)
#pragma warning restore 168
                {
                    throw new Exception(e.ToString(), e);
                }
            }