Parent Directory | Revision Log | Patch
revision 1.1.1.1.4.1 by npg, Tue Jul 8 00:11:30 2003 UTC | revision 1.1.1.1.4.2 by csmith, Sat Aug 30 20:00:55 2003 UTC | |
---|---|---|
# | Line 9 public sealed class StateName | Line 9 public sealed class StateName |
9 | public static string GetStateName(int stateNumber) | public static string GetStateName(int stateNumber) |
10 | { | { |
11 | if (stateNumber < 1 || stateNumber > m_stateNames.Length) | if (stateNumber < 1 || stateNumber > m_stateNames.Length) |
12 | throw new XmlRpcFaultException(1, "Invalid state number"); | throw new Exception( "Invalid state number"); |
13 | return m_stateNames[stateNumber-1]; | return m_stateNames[stateNumber-1]; |
14 | } | } |
15 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |