Unverified Commit 6fd795d0 authored by Andrea Orlati's avatar Andrea Orlati Committed by GitHub
Browse files

fix issue #597: messages of errors are all ported to the shortDescription...

fix issue #597: messages of errors are all ported to the shortDescription field in xml files. (#598)
parent 103d180f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
	<Member name="Reason" type="string" description="Reason" />
</ErrorCode>	

<ErrorCode name="CouldntLogManager" shortDescription="Manager couldn't be accessed" Description=" "/>
<ErrorCode name="CouldntLogManager" shortDescription="Manager couldn't be accessed" description=" "/>

<ErrorCode name="CouldntInit" shortDescription="Client could not be initialized" description=" "/>

+1 −1
Original line number Diff line number Diff line
@@ -102,7 +102,7 @@

<ErrorCode name="CloseTelescopeScanError" shortDescription="Not able command the scan close to the telescope" description=" "/>

<ErrorCode name="InvalidRestFrequency" shortDescription="The rest frequency is not provided or does not match the number of backend sections" description=" "/>
<ErrorCode name="InvalidRestFrequency" shortDescription="The rest frequency is not correctly provided" description=" "/>

<ErrorCode name="ScheduleNotExist" shortDescription="Schedule could not be found" description=" "/>

+14 −14
Original line number Diff line number Diff line
@@ -8,35 +8,35 @@

    <Code name="Communicating" 
         shortDescription="No Error" 
         description="No error condition found"/>
         description=" "/>

    <ErrorCode name="CommunicationError" 
         shortDescription="An error occured during the communication" 
         description="Cannot communicate properly with the derotator"/>
         shortDescription="Cannot communicate properly with the derotator" 
         description=" "/>

    <ErrorCode name="ConfigurationError" 
         shortDescription="Error configuring the derotator" 
         description="Cannot perform the derotator configuration"/>
         shortDescription="Cannot perform the derotator configuration" 
         description=" "/>

    <ErrorCode name="RemoteControlError" 
         shortDescription=" " 
         description="The derotator is not remotely controllable"/>
         shortDescription="The derotator is not remotely controllable" 
         description=" "/>

    <ErrorCode name="ValidationError" 
         shortDescription="Cannot validate the derotator answer" 
         description="Cannot understand the derotator answer"/>
         description=" "/>

    <ErrorCode name="PositioningError" 
         shortDescription=" "
         description="Cannot set the position"/>
         shortDescription="Cannot set derotator position"
         description=" "/>

    <ErrorCode name="OutOfRangeError" 
         shortDescription=" " 
         description="Position out of range"/>
         shortDescription="Derotator position out of range" 
         description=" "/>

    <ErrorCode name="UnexpectedError" 
         shortDescription=" " 
         description="Unexpected error"/>
         shortDescription="Unexpected error" 
         description=" "/>
</Type>

+4 −4
Original line number Diff line number Diff line
@@ -36,23 +36,23 @@
		<Member name="Details" type="string" description="more details from the board" />   
	</ErrorCode>
	
	<ErrorCode name="SynthetiserError" shortDescription="Error while communicating with sythetiser" description=" ">
	<ErrorCode name="SynthetiserError" shortDescription="Error while communicating with synthesiser" description=" ">
		<Member name="Details" type="string" description="more details about the error" />   
	</ErrorCode>
	
	<ErrorCode name="NoRemoteControlError" shortDescription="The receiver is not remotely controllable" description=" "/>
	
	<ErrorCode name="NoDewarPositioning" shortDescription="Dewar positioning and derotation is not supported by this release" description=" "/>
	<ErrorCode name="NoDewarPositioning" shortDescription="Dewar positioning and derotation is not supported" description=" "/>
    
    <ErrorCode name="NoDerotatorAvailable" shortDescription="The current receiver is not equipped with a derotator" description=" "/>
    
    <ErrorCode name="DewarPositionerSetupError" shortDescription="Error encountered during the setup of the dewar positioner" description=" ">
    <ErrorCode name="DewarPositionerSetupError" shortDescription="Error during dewar positioner setup" description=" ">
		<Member name="Details" type="string" description="More details on the error" />   
	</ErrorCode>

	<ErrorCode name="DewarPositionerParkingError" shortDescription="Error detected during derotator parking" description=" "/>
	
	<ErrorCode name="DewarPositionerCommandError" shortDescription="Error detected while issuing a command to the dewar positioner" description=" ">
	<ErrorCode name="DewarPositionerCommandError" shortDescription="Error while issuing a command to the dewar positioner" description=" ">
		<Member name="Command" type="string" description="It specifies which command has failed" />   
	</ErrorCode>
	
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ USER_LIBS=C++ pthread

EXECUTABLES_L = unittest
unittest_OBJECTS = unittest
unittest_LIBS = $(GTEST_LIBS) IRALibrary SlaLibrary ParserErrors ComponentErrors
unittest_LIBS = $(GTEST_LIBS) IRALibrary SlaLibrary ParserErrors ComponentErrors DiscosVersion

# END OF CUSTOMIZATION
# do not edit below this line
Loading