Infosys interview question

Can we create customized exception by extending throwable class? Use of stream api SQL question for sorting Project related question