Cosminexus V9 アプリケーションサーバ メッセージ(構築/運用/開発用)

[目次][前へ][次へ]

8.6 サブメッセージに表示されるインナーメッセージ(URIテンプレートが不正である場合の詳細情報)

URIテンプレートが不正であることを示すサブメッセージに表示される,インナーメッセージの例を次に示します。ここにないインナーメッセージが表示された場合は,その内容に従って原因を判定し,解決してください。

表8-2 インナーメッセージ(URIテンプレートが不正である場合の詳細情報)の例

項番 インナーメッセージ(URIテンプレートが不正である場合の詳細情報)
1 Invalid syntax for the template expression 'aa....aa'
2 Illegal character 'aa....aa' at position bb....bb is not as the start of a name
3 Illegal character 'aa....aa' at position bb....bb is not allowed as part of a name
4 Illegal character 'aa....aa' at position bb....bb is not allowed after a name
5 Invalid syntax for the template, "aa....aa". Check if a path parameter is terminated with a '}'.
6 Invalid syntax for the expression 'aa....aa' associated with the name 'bb....bb'
7 The name 'aa....aa' is declared more than once with different regular expressions

それぞれのインナーメッセージの例に対する説明と対処を次に示します。

<この節の構成>
(1) Invalid syntax for the template expression 'aa....aa'
(2) Illegal character 'aa....aa' at position bb....bb is not as the start of a name
(3) Illegal character 'aa....aa' at position bb....bb is not allowed as part of a name
(4) Illegal character 'aa....aa' at position bb....bb is not allowed after a name
(5) Invalid syntax for the template, "aa....aa". Check if a path parameter is terminated with a '}'.
(6) Invalid syntax for the expression 'aa....aa' associated with the name 'bb....bb'
(7) The name 'aa....aa' is declared more than once with different regular expressions

(1) Invalid syntax for the template expression 'aa....aa'

aa....aa:URIテンプレートの表現

説明
URIテンプレートに無効な構文があります。

対処
URIテンプレートの構文を,有効な表現になるように修正してください。

(2) Illegal character 'aa....aa' at position bb....bb is not as the start of a name

aa....aa:不正な文字

bb....bb:文字の位置

説明
テンプレートパラメタの識別子の先頭文字として不正な文字があります。

対処
テンプレートパラメタの識別子の先頭にある不正な文字を取り除いてください。

(3) Illegal character 'aa....aa' at position bb....bb is not allowed as part of a name

aa....aa:不正な文字

bb....bb:文字の位置

説明
テンプレートパラメタの識別子の一部として不正な文字があります。

対処
テンプレートパラメタの識別子にある不正な文字を取り除いてください。

(4) Illegal character 'aa....aa' at position bb....bb is not allowed after a name

aa....aa:不正な文字

bb....bb:文字の位置

説明
テンプレートパラメタの識別子の直後に不正な文字があります。

対処
テンプレートパラメタの識別子の直後にある不正な文字を取り除いてください。

(5) Invalid syntax for the template, "aa....aa". Check if a path parameter is terminated with a '}'.

aa....aa:URIテンプレートの表現

説明
URIテンプレートの表現に無効な構文があります。

対処
URIテンプレートの構文を,有効な表現になるように修正してください。また,テンプレートパラメタが'}'で終わっているか確認してください。もしそうでない場合は,'}'で終わるようにしてください。

(6) Invalid syntax for the expression 'aa....aa' associated with the name 'bb....bb'

aa....aa:正規表現

bb....bb:識別子

説明
テンプレートパラメタの正規表現に無効な構文があります。

対処
テンプレートパラメタの正規表現の構文を修正してください。

(7) The name 'aa....aa' is declared more than once with different regular expressions

aa....aa:識別子

説明
同じURIテンプレートの複数のテンプレートパラメタで,二つ以上の同じ識別子が使用されています。

対処
同じURIテンプレート内の異なるテンプレートパラメタには,固有の識別子を使用してください。