Class PerunBeanNotSupportedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
cz.metacentrum.perun.core.api.exceptions.PerunException
cz.metacentrum.perun.core.api.exceptions.PerunBeanNotSupportedException
All Implemented Interfaces:
Serializable

public class PerunBeanNotSupportedException extends PerunException
Checked version of PerunBeanNotSupportedException.

This exception is thrown when somewhere in code is object PerunBean but this one is not supported there for some reason.

Author:
Michal Stava
See Also:
  • Constructor Details

    • PerunBeanNotSupportedException

      public PerunBeanNotSupportedException(String message)
      Simple constructor with a message
      Parameters:
      message - message with details about the cause
    • PerunBeanNotSupportedException

      public PerunBeanNotSupportedException(String message, PerunBean complementaryObject)
      Parameters:
      message - message with details about the cause
      complementaryObject - PerunBean object which is not supported
    • PerunBeanNotSupportedException

      public PerunBeanNotSupportedException(String message, Throwable cause)
      Constructor with a message and Throwable object
      Parameters:
      message - message with details about the cause
      cause - Throwable that caused throwing of this exception
    • PerunBeanNotSupportedException

      public PerunBeanNotSupportedException(String message, PerunBean complementaryObject, Throwable cause)
      Constructor with the cause, the PerunBean object and the message
      Parameters:
      message - message with details about the cause
      complementaryObject - PerunBean object which is not supported
      cause - Throwable that caused throwing of this exception
    • PerunBeanNotSupportedException

      public PerunBeanNotSupportedException(Throwable cause)
      Constructor with a Throwable object
      Parameters:
      cause - Throwable that caused throwing of this exception
    • PerunBeanNotSupportedException

      public PerunBeanNotSupportedException(Throwable cause, PerunBean complementaryObject)
      Constructor with the cause and the PerunBean object
      Parameters:
      cause - Throwable that caused throwing of this exception
      complementaryObject - PerunBean object which is not supported
  • Method Details

    • getComplementaryObject

      public PerunBean getComplementaryObject()
      Getter for the PerunBean object
      Returns:
      PerunBean object which is not supported