Lines Matching refs:exception

37     Synopsis of some of std.exception's functions:
107 import core.exception : AssertError;
122 import core.exception : AssertError;
136 import core.exception : AssertError;
153 import core.exception : AssertError;
252 import core.exception : AssertError;
265 import core.exception : AssertError;
280 import core.exception : AssertError;
362 msg = The error message to put in the exception if it is thrown.
634 import core.exception : OutOfMemoryError;
684 Catches and returns the exception thrown from the given expression.
685 If no exception is thrown, then null is returned and $(D result) is
696 T = The type of exception to catch.
697 expression = The expression which may throw an exception.
698 result = The result of the expression if no exception is thrown.
720 import core.exception : RangeError;
725 Catches and returns the exception thrown from the given expression.
726 If no exception is thrown, then null is returned. $(D E) can be
737 T = The type of exception to catch.
738 expression = The expression which may throw an exception.
760 Catches the exception thrown from the given expression and returns the
761 msg property of that exception. If no exception is thrown, then null is
764 If an exception is thrown but it has an empty message, then
775 T = The type of exception to catch.
776 expression = The expression which may throw an exception.
804 Value that collectExceptionMsg returns when it catches an exception
805 with an empty exception message.
970 import core.exception : AssertError; in assumeWontThrow()
1012 import core.exception : AssertError;
1550 ML-style functional exception handling. Runs the supplied expression and
1606 If you need to use the actual thrown exception, you can use a delegate.
1710 import core.exception;
1822 catch (E exception)
1824 return typeof(this)(handler(exception, this.range));
1846 catch (E exception)
1848 return handler(exception, this.range);
1864 catch (E exception)
1866 return handler(exception, this.range);
1881 catch (E exception)
1883 handler(exception, this.range);
1900 catch (E exception)
1902 return handler(exception, this.range);
1917 catch (E exception)
1919 handler(exception, this.range);
1937 catch (E exception)
1939 static if (__traits(compiles, handler(exception, this.range, index)))
1940 return handler(exception, this.range, index);
1942 return handler(exception, this.range);
1960 catch (E exception)
1962 return handler(exception, this.range);
1982 catch (E exception)
1984 return typeof(this)(handler(exception, this.range));
2005 catch (E exception)
2007 return typeof(this)(handler(exception, this.range));
2022 catch (E exception)
2024 return takeExactly(typeof(this)(handler(exception, this.range)), 0);
2216 Even trivially sub-classing an exception involves writing boilerplate code
2218 the exception was thrown from; 2$(RPAREN) be usable with $(LREF enforce) which
2219 expects exception constructors to take arguments in a fixed order. This
2236 msg = The message for the exception.
2237 file = The file where the exception occurred.
2238 line = The line number where the exception occurred.
2239 next = The previous exception in the chain of exceptions, if any.
2249 msg = The message for the exception.
2250 next = The previous exception in the chain of exceptions.
2251 file = The file where the exception occurred.
2252 line = The line number where the exception occurred.