Inheritance: Exception
Exemple #1
0
        public static SystemExit /*!*/ Factory(RubyClass /*!*/ self, [Optional] int status, [DefaultParameterValue(null)] object message)
        {
            SystemExit result = new SystemExit(status, RubyExceptionData.GetClrMessage(self, message ?? "SystemExit"));

            RubyExceptionData.InitializeException(result, message);
            return(result);
        }
Exemple #2
0
 public static bool IsSuccessful(SystemExit/*!*/ self) {
     return self.Status == 0;
 }
Exemple #3
0
 public static int GetStatus(SystemExit/*!*/ self) {
     return self.Status;
 }
Exemple #4
0
 public static SystemExit/*!*/ Factory(RubyClass/*!*/ self, [Optional]int status, [DefaultParameterValue(null)]object message) {
     SystemExit result = new SystemExit(status, RubyExceptionData.GetClrMessage(message, "SystemExit"));
     RubyExceptionData.InitializeException(result, message);
     return result;
 }
Exemple #5
0
 public static bool IsSuccessful(SystemExit /*!*/ self)
 {
     return(self.Status == 0);
 }
Exemple #6
0
 public static int GetStatus(SystemExit /*!*/ self)
 {
     return(self.Status);
 }