Class SnmpBadConversionException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void printStackTrace()
      Prints the stack trace of the exception.
      void printStackTrace​(java.io.PrintStream stream)
      Prints the stack trace of the exception.
      void printStackTrace​(java.io.PrintWriter writer)
      Prints the stack trace of the exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SnmpBadConversionException

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

        public SnmpBadConversionException​(java.lang.String why,
                                          java.lang.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​(java.lang.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 java.lang.Throwable
      • printStackTrace

        public void printStackTrace​(java.io.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 java.lang.Throwable
        Parameters:
        writer - The stream to writer the stack trace onto.
      • printStackTrace

        public void printStackTrace​(java.io.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 java.lang.Throwable
        Parameters:
        stream - The stream to writer the stack trace onto.