 Unlike other consumer loans, Congress made student loans, both federal and private, exempt from discharge (cancellation) in the event of a personal bankruptcy, except when repaying the student loan would represent an undue hardship on the borrower and the borrower's dependents.This is a serious restriction that students rarely appreciate when obtaining a student loan.Financial aid, including loans, may not exceed the cost of attendance.