45 EHDirectory->SetGuidance(
"Managing number of G4Exception warning messages");
47 nwCmd =
new G4UIcommand(
"/control/exception/maxExceptionWarning",
this);
48 nwCmd->SetGuidance(
"Set maximum number of G4Exception warning messages to be displayed");
49 nwCmd->SetGuidance(
"for the specified error code.");
50 nwCmd->SetGuidance(
"Number of warnings is counted for each thread individually.");
51 nwCmd->SetGuidance(
"Once the number reaches to the maximum, the warning message of specified");
52 nwCmd->SetGuidance(
"error code won't be printed out any more.");
53 nwCmd->SetGuidance(
"Number is counted through the program execution if more than one run");
54 nwCmd->SetGuidance(
"are executed. Count can be reset with the same command.");
55 nwCmd->SetGuidance(
"If number is set to zero, warning message of the specified error code");
56 nwCmd->SetGuidance(
"won't be displayed at all.");
59 nwCmd->SetParameter(p1);
61 p2->SetParameterRange(
"maxNumber >= 0");
62 nwCmd->SetParameter(p2);
65 tnwCmd->SetGuidance(
"Set total maximum number of G4Exception warning messages to be displayed.");
66 tnwCmd->SetGuidance(
"Number of warnings is counted for each thread individually.");
67 tnwCmd->SetGuidance(
"Once the number reaches to the maximum, warning messages won't be");
68 tnwCmd->SetGuidance(
"printed out any more.");
69 tnwCmd->SetGuidance(
"Number is counted through the program execution if more than one run");
70 tnwCmd->SetGuidance(
"are executed. Count can be reset with the same command.");
71 tnwCmd->SetGuidance(
"If number is set to zero, warning message won't be displayed at all.");
73 tnwCmd->SetParameterName(
"maxNumber",
false);
74 tnwCmd->SetRange(
"maxNumber >= 0");