Project

General

Profile

« Previous | Next » 

Revision 35c5f53b

Added by Leszek Koltunski over 2 years ago

A few code improvements.

View differences:

src/main/java/org/distorted/library/mesh/MeshBase.java
888 888
         return 0;
889 889
         }
890 890
       }
891
     catch(IOException e)
891
     catch(Exception e)
892 892
       {
893
       android.util.Log.e("mesh", "IOException1 trying to read file: "+e.toString());
893
       android.util.Log.e("mesh", "Exception1 trying to read file: "+e.toString());
894 894
       return 0;
895 895
       }
896 896

  
......
916 916
         {
917 917
         stream.read(buffer);
918 918
         }
919
       catch(IOException e)
919
       catch(Exception e)
920 920
         {
921
         android.util.Log.e("mesh", "IOException2 trying to read file: "+e.toString());
921
         android.util.Log.e("mesh", "Exception2 trying to read file: "+e.toString());
922 922
         return 0;
923 923
         }
924 924

  

Also available in: Unified diff