Class SnmpBadConversionException

    • Constructor Detail

      • SnmpBadConversionException

        public SnmpBadConversionException​(String why)
        The exception constructor.
        Parameters:
        why - The message for the exception.
      • SnmpBadConversionException

        public SnmpBadConversionException​(String why,
                                          Exception reason)
        The exception constructor
        Parameters:
        why - The message for the exception.
        reason - The original exception that caused the problem
      • SnmpBadConversionException

        public SnmpBadConversionException()
        The exception constructor
      • SnmpBadConversionException

        public SnmpBadConversionException​(Exception reason)
        Constructs a new exception which is based upon a previous exception. The two exceptions are chained together internally.
        Parameters:
        reason - The original exception
    • Method Detail

      • printStackTrace

        public void printStackTrace()
        Prints the stack trace of the exception. If the exception has been chained then the original exception is also printed to the stream.
        Overrides:
        printStackTrace in class Throwable
      • printStackTrace

        public void printStackTrace​(PrintWriter writer)
        Prints the stack trace of the exception. If the exception has been chained then the original exception is also printed to the stream.
        Overrides:
        printStackTrace in class Throwable
        Parameters:
        writer - The stream to writer the stack trace onto.
      • printStackTrace

        public void printStackTrace​(PrintStream stream)
        Prints the stack trace of the exception. If the exception has been chained then the original exception is also printed to the stream.
        Overrides:
        printStackTrace in class Throwable
        Parameters:
        stream - The stream to writer the stack trace onto.