Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-3186

Throw an Exception instead of returning null in Context

    XMLWordPrintable

    Details

      Description

      File: /openmrs/api/src/main/java/org/openmrs/api/context/Context.java
      Line: 1145

      Source:

      User u = getAuthenticatedUser();
      if (u == null) // TODO: throw something here
      return;

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                lluismf Lluis Martinez
                Reporter:
                nullakilla Anton Alekseiev
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 15 minutes
                    15m