Class DuplicateMechanismException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.android.auth.exception.MechanismCreationException
-
- org.forgerock.android.auth.exception.DuplicateMechanismException
-
- All Implemented Interfaces:
java.io.Serializable
public class DuplicateMechanismException extends MechanismCreationException
Represents an error in setting up a mechanism, caused by a matching mechanism already existing.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DuplicateMechanismException(java.lang.String detailMessage, Mechanism cause)Create a new exception containing a message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MechanismgetCausingMechanism()
-
-
-
Constructor Detail
-
DuplicateMechanismException
public DuplicateMechanismException(java.lang.String detailMessage, Mechanism cause)Create a new exception containing a message.- Parameters:
detailMessage- The message cause of the exception.
-
-
Method Detail
-
getCausingMechanism
public Mechanism getCausingMechanism()
-
-