Codota Logo
ServiceInitException
Code IndexAdd Codota to your IDE (free)

How to use
ServiceInitException
in
org.deegree.services.exception

Best Java code snippets using org.deegree.services.exception.ServiceInitException (Showing top 7 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: deegree/deegree3

} catch ( Exception e ) {
  LOG.debug( "No crs: ", e );
  throw new ServiceInitException( e.getLocalizedMessage(), e );
  IAxis[] axis = crs.getAxis();
  if ( axis == null || axis.length == 0 ) {
    throw new ServiceInitException( "The crs with code: " + crs.getCode()
                    + " does not have any axis. Hence it is invalid." );
    throw new ServiceInitException(
                    "The crs with code: "
                                + crs.getCode()
origin: deegree/deegree3

/**
 * @return a new WCService
 */
public WCService buildService() {
  wcsService = new WCService();
  ServiceConfiguration wcsConf = ServiceConfigurationXMLAdapter.parse( workspace, metadata );
  RasterDataContainerFactory.setDefaultLoadingPolicy( LoadingPolicy.CACHED );
  defaultOptions = wcsConf.getSupportOptions();
  if ( defaultOptions == null ) {
    defaultOptions = new SupportOptions();
  }
  // if the list of outputformats is not defined by the config, use all available formats.
  List<String> defaultFormats = defaultOptions.getOutputFormat();
  if ( defaultFormats.isEmpty() ) {
    defaultFormats.addAll( RasterFactory.getAllSupportedWritingFormats() );
    Collections.sort( defaultFormats );
  }
  for ( Coverage coverage : wcsConf.getCoverage() ) {
    try {
      wcsService.addCoverage( extractCoverage( coverage ) );
    } catch ( ServiceInitException ex ) {
      LOG.error( "unable to load coverage: {}", ex.getMessage(), ex );
    }
  }
  return wcsService;
}
origin: deegree/deegree3

List<OWS> wpvsControllers = wsConfig.getByOWSClass( WPVSController.class );
if ( wpvsControllers.isEmpty() ) {
  throw new ServiceInitException( "No active WPVS found in workspace." );
origin: deegree/deegree3

@Override
public void init( DeegreeServicesMetadataType serviceMetadata, DeegreeServiceControllerType mainConf,
         Object controllerConf ) {
  LOG.info( "Checking for JOGL." );
  JOGLChecker.check();
  LOG.info( "JOGL status check successful." );
  identification = serviceMetadata.getServiceIdentification();
  provider = serviceMetadata.getServiceProvider();
  DeegreeWPVS cfg = (DeegreeWPVS) controllerConf;
  NamespaceBindings nsContext = new NamespaceBindings();
  nsContext.addNamespace( "wpvs", "http://www.deegree.org/services/wpvs" );
  try {
    publishedInformation = cfg.getPublishedInformation();
    parsePublishedInformation( nsContext, publishedInformation );
    ServiceConfiguration sc = cfg.getServiceConfiguration();
    service = new PerspectiveViewService( metadata.getLocation(), sc, workspace );
  } catch ( ServiceInitException e ) {
    throw new ResourceInitException( e.getMessage(), e );
  }
}
origin: deegree/deegree3

                                             id );
if ( cov == null ) {
  throw new ServiceInitException( "No coverage store with id '" + id + "' is known." );
  throw new ServiceInitException( e.getMessage(), e );
origin: deegree/deegree3

                                                  null );
if ( matchingDatasourceObjects.isEmpty() ) {
  throw new ServiceInitException( "No elevationmodels configured, this may not be." );
origin: deegree/deegree3

  initGL();
} else {
  throw new ServiceInitException( "Datasetdefinitions must be provided." );
org.deegree.services.exceptionServiceInitException

Most used methods

  • <init>
  • getMessage

Popular in Java

  • Making http requests using okhttp
  • putExtra (Intent)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • findViewById (Activity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • String (java.lang)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now