Create a WCF service

You’ve implemented a method named GetQuestionText that can throw an IndexOutOfRangeException a SqlException. Which of the following items would correctly expose these exceptions?

[FaultMapping(new FaultMappingCollection[]{IndexOutOfRangeException,SqlException})] [OperationContract] String GetQuestionText(Int32 questionNumber);
[FaultMapping(new FaultMappingCollection[]{typeof(IndexOutOfRangeException), typeof(SqlException)})] [OperationContract] String GetQuestionText(Int32 questionNumber);
[FaultContract(IndexOutOfRangeException)] [FaultContract(SqlException)] [OperationContract] String GetQuestionText(Int32 questionNumber);
[FaultContract(typeof(IndexOutOfRangeException))] [FaultContract(typeof(SqlException))] [OperationContract] String GetQuestionText(Int32 questionNumber);