Package org.pentaho.reporting.libraries.resourceloader

Examples of org.pentaho.reporting.libraries.resourceloader.UnrecognizedLoaderException


      final String[] name = RepositoryUtilities.split(identifier, "/");
      if (RepositoryUtilities.isExistsEntity(repository, name) == false)
      {
        if (failOnMissingData)
        {
          throw new UnrecognizedLoaderException("This bundle data does not point to readable content: " + identifier);
        }
        else
        {
          this.contentItem = null;
        }
      }
      else
      {
        final ContentEntity contentEntity = RepositoryUtilities.getEntity(repository, name);
        if (contentEntity instanceof ContentItem == false)
        {
          if (failOnMissingData)
          {
            throw new UnrecognizedLoaderException("This bundle data does not point to readable content. Content entity is not a ContentItem");
          }
          else
          {
            this.contentItem = null;
          }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.libraries.resourceloader.UnrecognizedLoaderException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.