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

        
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to