64 questions for “Exceptions”

Found in 2 fields. Select a question to see its full answer.

Matching topics

Information Technology

61 questions in 7 technologies

#QuestionTechnologyTopicLevel
1What is the difference between checked and unchecked exceptions in Java, and how does the compiler treat each differently? Java › ExceptionsJavaExceptionsBeginner
2What is a common anti-pattern with catching exceptions too broadly (catch (Exception e) or worse, catch (Throwable t)), and why is it generally discouraged? Java › ExceptionsJavaExceptionsIntermediate
3What is the purpose of the addSuppressed() mechanism and getSuppressed() method on Throwable, and in what specific scenario does the JVM automatically populate suppressed exceptions? Java › ExceptionsJavaExceptionsIntermediate
4How would you convert a checked-exception-throwing method into a lambda usable with a standard functional interface (which doesn't declare any checked exceptions), given standard interfaces like Function don't permit checked exceptions in their abstract method signature? Java › Functional Interfaces & Method ReferencesJavaFunctional Interfaces & Method ReferencesIntermediate
5How should exceptions be handled inside a BackgroundService's ExecuteAsync loop to prevent the entire service from crashing silently? .NET › Background Services.NETBackground ServicesIntermediate
6How do you handle exceptions specifically within minimal API endpoints, given they don't use the traditional MVC exception filter pipeline? .NET › Global Exception Handling & Middleware.NETGlobal Exception Handling & MiddlewareIntermediate
7What is the difference between handling exceptions with middleware versus using try/catch blocks directly in controller actions? .NET › Global Exception Handling & Middleware.NETGlobal Exception Handling & MiddlewareIntermediate
8How should a global exception handler differentiate between exceptions that should return specific client-facing details versus exceptions that should always show a generic message? .NET › Global Exception Handling & Middleware.NETGlobal Exception Handling & MiddlewareIntermediate
9How should exceptions be handled inside a BackgroundService's work loop to prevent one failure from silently stopping all future processing? ASP.NET Core › Background Tasks & Hosted ServicesASP.NET CoreBackground Tasks & Hosted ServicesIntermediate
10How do you handle exceptions specifically within minimal API endpoints, given they don't use the traditional MVC exception filter pipeline? ASP.NET Core › Error HandlingASP.NET CoreError HandlingIntermediate

Accounting & Finance

3 questions in 2 technologies

#QuestionTechnologyTopicLevel
1How are reconciliation exceptions handled? Accounting Software & Systems › Reconciliation ToolsAccounting Software & SystemsReconciliation ToolsIntermediate
2What are invoice exceptions and how are they handled? Accounts Payable & Receivable › Invoice ProcessingAccounts Payable & ReceivableInvoice ProcessingIntermediate
3How does procure-to-pay automation reduce matching exceptions? Accounts Payable & Receivable › Purchase Orders & 3-Way MatchingAccounts Payable & ReceivablePurchase Orders & 3-Way MatchingAdvanced