All pensions and service increments granted under this part and every portion thereof shall be exempt from attachment of garnishment processes and shall not be seized, taken or subject to detainer or levied upon by virtue of an execution of any processes or proceedings whatsoever, issued out of or by any court in this commonwealth for the payment and satisfaction in whole or in part of any claim, damage, demand or judgment against any pensioner. No pensioner shall have the right to transfer or assign his or her pension or any part thereof, either by way of mortgage or otherwise.