Package org.osgi.service.coordinator
Class SingletonException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.osgi.service.coordinator.SingletonException
- All Implemented Interfaces:
Serializable
Package private singleton exception class.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSingletonException
(String message) Create a singleton exception with the specified message and no cause. -
Method Summary
Modifier and TypeMethodDescriptionThe stack trace cannot be filled in.void
setStackTrace
(StackTraceElement[] stackTrace) The stack trace cannot be set.Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
SingletonException
Create a singleton exception with the specified message and no cause.- Parameters:
message
- The message for the singleton exception.
-
-
Method Details
-
fillInStackTrace
The stack trace cannot be filled in.- Overrides:
fillInStackTrace
in classThrowable
- Returns:
- this
-
setStackTrace
The stack trace cannot be set.- Overrides:
setStackTrace
in classThrowable
- Parameters:
stackTrace
- Must not benull
or contain anynull
elements; otherwise ignored.
-