Class WrongModeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
es.uam.eps.ir.relison.content.index.exceptions.WrongModeException
All Implemented Interfaces:
java.io.Serializable

public class WrongModeException
extends java.lang.Exception
Exception which is thrown when a index is tried to operate in the wrong mode (if the index is configured in read mode, and the user tries to write into it, or if the index is configured in write mode, and the user to read it).
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    WrongModeException​(java.lang.String message)
    Constructs a WrongModeException with the given detail message.
    WrongModeException​(java.lang.String message, java.lang.Throwable cause)
    Constructs a WrongModeException with the given detail message and root cause.
    WrongModeException​(java.lang.Throwable cause)
    Constructs a WrongModeException with the given root cause.
  • 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 Details

    • WrongModeException

      public WrongModeException​(java.lang.String message)
      Constructs a WrongModeException with the given detail message.
      Parameters:
      message - The detail message of the WrongModeException.
    • WrongModeException

      public WrongModeException​(java.lang.Throwable cause)
      Constructs a WrongModeException with the given root cause.
      Parameters:
      cause - The root cause of the WrongModeException.
    • WrongModeException

      public WrongModeException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a WrongModeException with the given detail message and root cause.
      Parameters:
      message - The detail message of the WrongModeException.
      cause - The root cause of the WrongModeException.