NamespaceException

Syntax

public class NamespaceException extends java.lang.Exception

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.osgi.service.http.NamespaceException
					

All Implemented Interfaces: java.io.Serializable

Description

A NamespaceException is thrown to indicate an error with the caller's request to register a servlet or resources into HttpService's URI namespace. This exception indicates that the requested alias is already registered.

Member Summary
Constructors
publicNamespaceException(String)
 Construct a NamespaceException with a detail message.
publicNamespaceException(String, Throwable)
 Construct a NamespaceException with a detail message and a nested exception.
Methods
public ThrowablegetException() ...

Get Programming Open Service Gateways with Java Embedded Server™ Technology now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.