Rename kotlin.reflect.IllegalAccessException -> IllegalPropertyAccessException

The former name clashes with java.lang.IllegalAccessException and proved to be
inconvenient because it should always be qualified in the source.

Also use java.lang exception's message as kotlin.reflect exception's message
This commit is contained in:
Alexander Udalov
2015-03-03 17:23:21 +03:00
parent ed022f892b
commit a8046020fb
9 changed files with 27 additions and 27 deletions
@@ -34,7 +34,7 @@ public class Reflection {
catch (ClassCastException e) { impl = null; }
catch (ClassNotFoundException e) { impl = null; }
catch (InstantiationException e) { impl = null; }
catch (java.lang.IllegalAccessException e) { impl = null; }
catch (IllegalAccessException e) { impl = null; }
factory = impl != null ? impl : new ReflectionFactory();
}