Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0.RC1
-
Fix Version/s: 2.0.1
-
Component/s: Core: View Selection Rendering
-
Labels:None
Description
In AbstractMvcView there is use of the IllegalStateException constructor which is only available in java 1.5. The constructor taking Throwable was only added to IllegalStateException as of Java 1.5. In Java 1.4 there are only two constructors, a default and one taking a String.
Code Snippet lines 121 - 127.
try {
doRender(model);
} catch (IOException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Unexpected exception occurred rendering view " + view, e); //This constructor does not exist in java 1.4.
}