public final class FailedSecurityFactory<T> extends Object implements SecurityFactory<T>
SecurityFactory
implementation which only throws specified exception on create.Constructor and Description |
---|
FailedSecurityFactory(GeneralSecurityException exception)
Creates a new factory instance.
|
public FailedSecurityFactory(GeneralSecurityException exception)
exception
- the exception to be thrown on createpublic T create() throws GeneralSecurityException
SecurityFactory
create
in interface SecurityFactory<T>
GeneralSecurityException
- if instantiation fails for some reasonCopyright © 2019 JBoss by Red Hat. All rights reserved.