Match trap type constraint with exception base type.

The following PowerShell now works:

    throw new-object System.FormatException

    trap [Exception] {
        'FormatException trapped'
        continue
    }