added printStackTrace() in empty catch of Exception
simple implementation of a ViewPort