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
ProviderExceptionis a general exception, thrown by securityProviders.- 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 Detail
-
ProviderException
public ProviderException(String msg)
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
public ProviderException(String message, Throwable cause)
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
public ProviderException(Throwable cause)
Constructs a new instance ofProviderExceptionwith the cause.- Parameters:
cause- the exception which is the cause for this exception.
-
-