|
|
(4 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
| {{Template:InvalidRegex:New subtitle}}
| | #REDIRECT [[InvalidRegex class#New constructor|New constructor]] |
|
| |
|
| This constructor generates an instance of an InvalidRegex exception.
| | [[Category:InvalidRegex methods|New constructor]] |
| As shown below, the required argument of the New method is a setting of the Code,
| |
| Description, and Position properties.
| |
| ==Syntax==
| |
| {{Template:InvalidRegex:New syntax}}
| |
| ===Syntax terms===
| |
| <table class="syntaxTable">
| |
| <tr><th>%invReg</th>
| |
| <td>A reference to an instance of an InvalidRegex object.
| |
| </td></tr>
| |
| <tr><th><b>Code=</b>code</th>
| |
| <td>This name required parameter specifies the numeric value (''code'') to be assigned to the exception object's Code property.
| |
| </td></tr>
| |
| <tr><th><b>Description=</b>desc</th>
| |
| <td>This name required parameter specifies the string value (''desc'') to be assigned to the object's Description property.
| |
| </td></tr>
| |
| <tr><th><b>Position=</b>pos</th>
| |
| <td>This name required parameter specifies the numeric value (''pos'') to be assigned to the object's Position property.
| |
| | |
| </td></tr></table>
| |
| ==See also==
| |
| {{Template:InvalidRegex:New footer}}
| |