Package edu.jas.arith
Class ModularNotInvertibleException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- edu.jas.structure.NotInvertibleException
-
- edu.jas.arith.ModularNotInvertibleException
-
- All Implemented Interfaces:
java.io.Serializable
public class ModularNotInvertibleException extends NotInvertibleException
Modular integer NotInvertibleException class. Runtime Exception to be thrown for not invertible modular integers. Container for the non-trivial factors found by the inversion algorithm. Note: cannot be generic because of Throwable.- Author:
- Heinz Kredel
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description GcdRingElem
f
GcdRingElem
f1
GcdRingElem
f2
-
Constructor Summary
Constructors Constructor Description ModularNotInvertibleException()
ModularNotInvertibleException(GcdRingElem f, GcdRingElem f1, GcdRingElem f2)
Constructor.ModularNotInvertibleException(java.lang.String c)
ModularNotInvertibleException(java.lang.String c, GcdRingElem f, GcdRingElem f1, GcdRingElem f2)
Constructor.ModularNotInvertibleException(java.lang.String c, java.lang.Throwable t)
ModularNotInvertibleException(java.lang.String c, java.lang.Throwable t, GcdRingElem f, GcdRingElem f1, GcdRingElem f2)
Constructor.ModularNotInvertibleException(java.lang.Throwable t)
ModularNotInvertibleException(java.lang.Throwable t, GcdRingElem f, GcdRingElem f1, GcdRingElem f2)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Get the String representation.
-
-
-
Field Detail
-
f
public final GcdRingElem f
-
f1
public final GcdRingElem f1
-
f2
public final GcdRingElem f2
-
-
Constructor Detail
-
ModularNotInvertibleException
public ModularNotInvertibleException()
-
ModularNotInvertibleException
public ModularNotInvertibleException(java.lang.String c)
-
ModularNotInvertibleException
public ModularNotInvertibleException(java.lang.String c, java.lang.Throwable t)
-
ModularNotInvertibleException
public ModularNotInvertibleException(java.lang.Throwable t)
-
ModularNotInvertibleException
public ModularNotInvertibleException(GcdRingElem f, GcdRingElem f1, GcdRingElem f2)
Constructor.- Parameters:
f
- gcd ring element with f = f1 * f2.f1
- gcd ring element.f2
- gcd ring element.
-
ModularNotInvertibleException
public ModularNotInvertibleException(java.lang.String c, GcdRingElem f, GcdRingElem f1, GcdRingElem f2)
Constructor.- Parameters:
f
- gcd ring element with f = f1 * f2.f1
- gcd ring element.f2
- gcd ring element.
-
ModularNotInvertibleException
public ModularNotInvertibleException(java.lang.String c, java.lang.Throwable t, GcdRingElem f, GcdRingElem f1, GcdRingElem f2)
Constructor.- Parameters:
f
- gcd ring element with f = f1 * f2.f1
- gcd ring element.f2
- gcd ring element.
-
ModularNotInvertibleException
public ModularNotInvertibleException(java.lang.Throwable t, GcdRingElem f, GcdRingElem f1, GcdRingElem f2)
Constructor.- Parameters:
f
- gcd ring element with f = f1 * f2.f1
- gcd ring element.f2
- gcd ring element.
-
-
Method Detail
-
toString
public java.lang.String toString()
Get the String representation.- Overrides:
toString
in classjava.lang.Throwable
- See Also:
Object.toString()
-
-