Package org.eclipse.osgi.signedcontent
Class InvalidContentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.eclipse.osgi.signedcontent.InvalidContentException
- All Implemented Interfaces:
Serializable
Indicates that signed content is invalid according to one of the signers.
- Since:
- 3.4
- See Also:
- Restriction:
- This class is not intended to be subclassed by clients.
-
Constructor Summary
ConstructorDescriptionInvalidContentException
(String message, Throwable cause) Constructs anInvalidContentException
with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidContentException
Constructs anInvalidContentException
with the specified detail message and cause.- Parameters:
message
- the exception messagecause
- the cause, may benull
-
-
Method Details
-
getCause
Returns the cause of this exception ornull
if no cause was specified when this exception was created. -
initCause
The cause of this exception can only be set when constructed.- Overrides:
initCause
in classThrowable
- Parameters:
t
- Cause of the exception.- Returns:
- This object.
- Throws:
IllegalStateException
- This method will always throw anIllegalStateException
since the cause of this exception can only be set when constructed.
-