Class UnknownProcessException

  • All Implemented Interfaces:
    Serializable

    public class UnknownProcessException
    extends ProcessException
    This type of exception is used when an invalid process is encountered.
    Since:
    7.1
    Author:
    Jon van Leuven
    See Also:
    Serialized Form
    • Constructor Detail

      • UnknownProcessException

        public UnknownProcessException​(String processName)
        Constructs the exception with the invalid process name.
        Parameters:
        processName - The name of the process that is invalid
      • UnknownProcessException

        public UnknownProcessException​(String processName,
                                       String message)
        Constructs the exception with the invalid process name and a message containing more information about the cause or place of the error.
        Parameters:
        processName - The name of the process that is invalid
        message - Message containing additional information about the error.
    • Method Detail

      • getProcessName

        public String getProcessName()
        This method returns the name of the process that was invalid.
        Returns:
        the name of the process that was invalid.