Lines Matching refs:exception

41     Source:    $(PHOBOSSRC std/exception.d)
44 module std.exception;
126 If msg is empty, and the thrown exception has a
127 non-empty msg field, the exception's msg field
645 Catches and returns the exception thrown from the given expression.
646 If no exception is thrown, then null is returned and `result` is
657 T = The type of exception to catch.
658 expression = The expression which may throw an exception.
659 result = The result of the expression if no exception is thrown.
687 import core.exception : RangeError;
693 Catches and returns the exception thrown from the given expression.
694 If no exception is thrown, then null is returned. `E` can be
705 T = The type of exception to catch.
706 expression = The expression which may throw an exception.
731 Catches the exception thrown from the given expression and returns the
732 msg property of that exception. If no exception is thrown, then null is
735 If an exception is thrown but it has an empty message, then
746 T = The type of exception to catch.
747 expression = The expression which may throw an exception.
777 Value that collectExceptionMsg returns when it catches an exception
778 with an empty exception message.
974 import core.exception : AssertError; in assumeWontThrow()
1016 import core.exception : AssertError;
1683 ML-style functional exception handling. Runs the supplied expression and
1849 import core.exception;
1995 catch (E exception)
1997 return typeof(this)(handler(exception, this.range));
2019 catch (E exception)
2021 return handler(exception, this.range);
2037 catch (E exception)
2039 return handler(exception, this.range);
2054 catch (E exception)
2056 handler(exception, this.range);
2073 catch (E exception)
2075 return handler(exception, this.range);
2090 catch (E exception)
2092 handler(exception, this.range);
2110 catch (E exception)
2112 static if (__traits(compiles, handler(exception, this.range, index)))
2113 return handler(exception, this.range, index);
2115 return handler(exception, this.range);
2133 catch (E exception)
2135 return handler(exception, this.range);
2155 catch (E exception)
2157 return typeof(this)(handler(exception, this.range));
2178 catch (E exception)
2180 return typeof(this)(handler(exception, this.range));
2195 catch (E exception)
2197 return takeExactly(typeof(this)(handler(exception, this.range)), 0);
2389 Even trivially sub-classing an exception involves writing boilerplate code
2391 the exception was thrown from; 2$(RPAREN) be usable with $(LREF enforce) which
2392 expects exception constructors to take arguments in a fixed order. This
2409 msg = The message for the exception.
2410 file = The file where the exception occurred.
2411 line = The line number where the exception occurred.
2412 next = The previous exception in the chain of exceptions, if any.
2422 msg = The message for the exception.
2423 next = The previous exception in the chain of exceptions.
2424 file = The file where the exception occurred.
2425 line = The line number where the exception occurred.