Package edu.jas.poly

Class AlgebraicNotInvertibleException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AlgebraicNotInvertibleException
    extends NotInvertibleException
    Algebraic number NotInvertibleException class. Runtime Exception to be thrown for not invertible algebraic numbers. Container for the non-trivial factors found by the inversion algorithm. Note: cannot be generic because of Throwable.
    See Also:
    Serialized Form
    • Constructor Detail

      • AlgebraicNotInvertibleException

        public AlgebraicNotInvertibleException()
      • AlgebraicNotInvertibleException

        public AlgebraicNotInvertibleException​(java.lang.String c)
      • AlgebraicNotInvertibleException

        public AlgebraicNotInvertibleException​(java.lang.String c,
                                               java.lang.Throwable t)
      • AlgebraicNotInvertibleException

        public AlgebraicNotInvertibleException​(java.lang.Throwable t)
      • AlgebraicNotInvertibleException

        public AlgebraicNotInvertibleException​(GenPolynomial f,
                                               GenPolynomial f1,
                                               GenPolynomial f2)
        Constructor.
        Parameters:
        f - polynomial with f = f1 * f2.
        f1 - polynomial.
        f2 - polynomial.
      • AlgebraicNotInvertibleException

        public AlgebraicNotInvertibleException​(java.lang.String c,
                                               GenPolynomial f,
                                               GenPolynomial f1,
                                               GenPolynomial f2)
        Constructor.
        Parameters:
        f - polynomial with f = f1 * f2.
        f1 - polynomial.
        f2 - polynomial.
      • AlgebraicNotInvertibleException

        public AlgebraicNotInvertibleException​(java.lang.String c,
                                               java.lang.Throwable t,
                                               GenPolynomial f,
                                               GenPolynomial f1,
                                               GenPolynomial f2)
        Constructor.
        Parameters:
        f - polynomial with f = f1 * f2.
        f1 - polynomial.
        f2 - polynomial.
      • AlgebraicNotInvertibleException

        public AlgebraicNotInvertibleException​(java.lang.Throwable t,
                                               GenPolynomial f,
                                               GenPolynomial f1,
                                               GenPolynomial f2)
        Constructor.
        Parameters:
        f - polynomial with f = f1 * f2.
        f1 - polynomial.
        f2 - polynomial.
    • Method Detail

      • toString

        public java.lang.String toString()
        Get the String representation.
        Overrides:
        toString in class java.lang.Throwable
        See Also:
        Object.toString()