[seam-issues] [JBoss JIRA] Created: (SEAMWICKET-37) Wrong exception message in NonContextual.postConstruct()

Ondrej Zizka (JIRA) jira-events at lists.jboss.org
Mon May 23 20:58:00 EDT 2011


Wrong exception message in NonContextual.postConstruct()
--------------------------------------------------------

                 Key: SEAMWICKET-37
                 URL: https://issues.jboss.org/browse/SEAMWICKET-37
             Project: Seam for Apache Wicket
          Issue Type: Bug
            Reporter: Ondrej Zizka
            Priority: Minor


{code}
      /**
       * Call the @PostConstruct callback
       * 
       * @return
       */
      public Instance<T> postConstruct()
      {
         if (this.instance == null)
         {
            throw new IllegalStateException("Trying to call postConstruct() before produce() was called");
         }
         if (disposed)
         {
            throw new IllegalStateException("Trying to call preDestroy() on already disposed instance");
         }
         injectionTarget.postConstruct(instance);
         return this;
      }
{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list