AVCLI の例外

–X または --XML を指定しない場合にコマンドがエラーを返すと、詳細なメッセージが表示されます。例:

$ cli -H eagles vm-delete eagles23
%Error: Cannot find a resource that matches the identifier eagles23. com.avance.yak.cli.exceptions.CommandLineException: Cannot find a resource that matches the identifier eagles23.
at com.avance.yak.cli.ResourceDisambiguateServiceProvider.throwNonExistentResource(ResourceDisambiguateServiceProvider.java:56)
at
com.avance.yak.cli.ResourceDisambiguateServiceProvider.getResourceId(ResourceDisambiguateServiceProvider.java:81)
at
com.avance.yak.cli.Command.findResourceId(Command.java:80)
at com.avance.yak.cli.CommandWithUnparsedAmbiguousResourcesInvokeEach.execute(CommandWithUnparsedAmbiguousResourcesInvokeEach.java:65)
at
com.avance.yak.cli.Command.execute(Command.java:194)
at
com.avance.yak.cli.CommandLine.execute(CommandLine.java:649)
at
com.avance.yak.cli.Program.main(Program.java:94)