Class android.view.Surface.OutOfResourcesException

The superclass changed from java.lang.Exception to java.lang.RuntimeException.