com.kuka.task
Class InstanceNotRunningException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.kuka.task.InstanceNotRunningException
- All Implemented Interfaces:
- Serializable
public class InstanceNotRunningException
- extends RuntimeException
Is thrown when a task function is requested for a task that allows multiple
instances to be spawned without specifying the concrete instance.
- See Also:
- Serialized Form
InstanceNotRunningException
public InstanceNotRunningException(Class<?> functionType)
- Constructs a new exception with the specified parameters. The cause is
not initialized.
- Parameters:
functionType - the function type that caused the exception. Will be
retrievable by getFunctionType().
getFunctionType
public Class<?> getFunctionType()
- Returns the task function that caused the exception.
- Returns:
- the task function that caused the exception
toString
public String toString()
- Overrides:
toString in class Throwable
getMessage
public String getMessage()
- Overrides:
getMessage in class Throwable
Copyright © 2019. All rights reserved.