|
 |
|
|
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
-
public class InvalidContentException
- extends
IOException
Indicates that signed content is invalid according to one of the signers.
-
Since:
- 3.4
-
See Also:
-
Serialized Form
-
Restriction:
- This class is not intended to be subclassed by clients.
Method Summary
|
Throwable
|
getCause
()
Returns the cause of this exception or null if no cause
was specified when this exception was created. |
Throwable
|
initCause
(
Throwable t)
The cause of this exception can only be set when constructed. |
InvalidContentException
public InvalidContentException(
String message,
Throwable cause)
- Constructs an
InvalidContentException with the specified detail
message and cause.
-
Parameters:
-
message - the exception message -
cause - the cause, may be null
getCause
public
Throwable getCause()
- Returns the cause of this exception or
null if no cause
was specified when this exception was created.
-
-
Overrides:
-
getCause
in class
Throwable
-
-
Returns:
- The cause of this exception or
null if no cause was created.
initCause
public
Throwable initCause(
Throwable t)
- The cause of this exception can only be set when constructed.
-
-
Overrides:
-
initCause
in class
Throwable
-
-
Parameters:
-
t - Cause of the exception.
-
Returns:
- This object.
-
Throws:
-
IllegalStateException
- This method will always throw an
IllegalStateException since the cause of this
exception can only be set when constructed.
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.
|
|
|