LPC1768: Instantiating a PWM object - tiny warning

Feed a PwmOut instantiation a garbage pin number and it locks up the program. Wish it kept going so my diagnostic task could maybe have given me a clue.