Assertion: exception | /r/HasProperty | if(temperature == 0
Facets:
Source sentences:
text: Exception { public TempIsZeroException(string message): base(message) {} } public class Temperature { int temperature = 0; public void showTemp() { if(temperature == 0) { throw (new TempIsZeroException("Zero Temperature found")); } else { Console.
text: Exception { public TempIsZeroException(string message): base(message) { } } public class Temperature { int temperature = 0; public void showTemp() { if(temperature == 0) { throw (new TempIsZeroException("Zero Temperature found")); } else { Console.