Class UserException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AlreadyExistsException, NotFoundException, PermissionDeniedException

public class UserException extends OsidException
User errors are only permitted where specified in method signatures and should be handled directly by a consumer application.
See Also:
  • Constructor Details

    • UserException

      public UserException(String msg)
      Constructs a UserException with the specified detail message. The error message string msg can later be retrieved by the getMessage() method of Throwable.
      Parameters:
      msg - the error message
    • UserException

      public UserException(String msg, Throwable t)
      Constructs a UserException with the specified detail message and cause. The error message string msg can later be retrieved by the getMessage() method of Throwable.
      Parameters:
      msg - the error message
      t - the cause of the exception
    • UserException

      public UserException(Throwable t)
      Constructs a UserException with the specified cause and a detail message of cause.toString() which typically contains the class and detail message of cause.
      Parameters:
      t - the cause of the exception