Assertion: exception | /r/HasProperty | public void showtemp
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 MyException( string str) { Console.
text: () throws Exception { ... } public void doThis() throws NumberFormatException { ... }
text: Exception { public GenericException() : base("This is a generic exception.") { } }
text: Exception { public ThirdLevelException( string message, Exception inner ) : base( message, inner ) { } } class NestedExceptions { public static void Main() { Console.
text: Exception { public SecondLevelException( string message, Exception inner ) : base( message, inner ) { } } class ThirdLevelException :
text: public class BadUrlException extends Exception { public BadUrlException(String s) { super(s); } }
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.