Class NotSpecificUserExpectedException

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

public class NotSpecificUserExpectedException extends PerunException
This exception is thrown when expecting a user who is not service user or expecting a user who is not sponsored
Author:
Michal Šťava
See Also:
  • Constructor Details

    • NotSpecificUserExpectedException

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

      public NotSpecificUserExpectedException(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
    • NotSpecificUserExpectedException

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

      public NotSpecificUserExpectedException(User user)
  • Method Details

    • getUser

      public User getUser()