Class OpinionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class OpinionException
    extends java.lang.Exception
    A class to represent an error when processing an opinion.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      OpinionException​(java.lang.Exception cause)
      Constructs a new exception with the specified cause
      OpinionException​(java.lang.String msg)
      Constructs a new opinion exception with the specified detail message.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

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

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

      • OpinionException

        public OpinionException​(java.lang.String msg)
        Constructs a new opinion exception with the specified detail message.
        Parameters:
        msg - the detail message
      • OpinionException

        public OpinionException​(java.lang.Exception cause)
        Constructs a new exception with the specified cause
        Parameters:
        cause - the cause of the exception