edu.jas.arith
Class ModularNotInvertibleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.jas.structure.NotInvertibleException
                  extended by 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
 GcdRingElem f
           
 GcdRingElem f1
           
 GcdRingElem f2
           
 
Constructor Summary
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
 java.lang.String toString()
          Get the String representation.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 class java.lang.Throwable
See Also:
Object.toString()