Object
Throwable
Exception
FactoryException
UnimplementedServiceException
- All Implemented Interfaces:
Serializable
Thrown when a factory does not implement a method.
The unimplemented service may be the creation of instances of some type,
or the parsing of texts in Well-Known Text (WKT)
or Geographic Markup Language (GML) formats.
- Since:
- 3.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnimplementedServiceException
(String message) Constructs an exception with the specified detail message.UnimplementedServiceException
(Factory factory, Class<?> type) Constructs an exception with a message inferred from the specified factory and object type.UnimplementedServiceException
(Factory factory, Class<?> type, String variant) Constructs an exception with a message inferred from the specified factory, object type and variant. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnimplementedServiceException
Constructs an exception with the specified detail message.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.
-
UnimplementedServiceException
Constructs an exception with a message inferred from the specified factory and object type.- Parameters:
factory
- the factory on which acreateFoo(…)
method has been invoked.type
- the type of object that the user requested.
-
UnimplementedServiceException
Constructs an exception with a message inferred from the specified factory, object type and variant. The exact message formatted by this constructor is unspecified.- Parameters:
factory
- the factory on which acreateFoo(…)
method has been invoked.type
- the type of object that the user requested.variant
- variant of the type (e.g. "2D", "3D", "spherical", "Cartesian"), ornull
if none.
-