Change error catching type in import servlet to general Exception