UserCanceledException (install4j API)
Description: declaration: package: com.install4j.api.context, class: UserCanceledException

# Class UserCanceledException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.install4j.api.context.UserCanceledException

All Implemented Interfaces:
  `Serializable`

public class UserCanceledException extends Exception
Installation methods throw this exception if the user cancels an operation.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UserCanceledException()`
  Initializes a new instance.
  `UserCanceledException(String message)`
  Initializes a new instance with a message.

- ## Method Summary

  ### Methods inherited from class Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### UserCanceledException

    public UserCanceledException(String message)
    Initializes a new instance with a message.
    Parameters:
      `message` - the exception message

  - ### UserCanceledException

    public UserCanceledException()
    Initializes a new instance.