Package java.security
Class ProviderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.security.ProviderException
- All Implemented Interfaces:
Serializable
public class ProviderException extends RuntimeException
ProviderException is a general exception, thrown by security
Providers.- See Also:
Provider, Serialized Form
-
Constructor Summary
Constructors Constructor Description ProviderException()Constructs a new instance ofProviderException.ProviderException(String msg)Constructs a new instance ofProviderExceptionwith the given message.ProviderException(String message, Throwable cause)Constructs a new instance ofProviderExceptionwith the given message and the cause.ProviderException(Throwable cause)Constructs a new instance ofProviderExceptionwith the cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProviderException
Constructs a new instance ofProviderExceptionwith the given message.- Parameters:
msg- the detail message for this exception.
-
ProviderException
public ProviderException()Constructs a new instance ofProviderException. -
ProviderException
Constructs a new instance ofProviderExceptionwith the given message and the cause.- Parameters:
message- the detail message for this exception.cause- the exception which is the cause for this exception.
-
ProviderException
Constructs a new instance ofProviderExceptionwith the cause.- Parameters:
cause- the exception which is the cause for this exception.
-