Bonjour ,
J aurais quelques questions par rapport aux exceptions.
Lorsqu' une méthode est succeptible de lever une exception , dois je obligatoirement mentionné throws dans son en en tête? Si je déclare throws dois je lancer l exception avec throw new Exception()??
merci

 

 
		
		 
        

 
			
			


 
   


 Exceptions throws throw
 Exceptions throws throw
				 Répondre avec citation
  Répondre avec citation


 
			 
			
Partager