com.kuka.task
Class FunctionNotAvailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.kuka.task.FunctionNotAvailableException
- All Implemented Interfaces:
- Serializable
public class FunctionNotAvailableException
- extends RuntimeException
Is thrown when the requested task function is not known.
- See Also:
- Serialized Form
FunctionNotAvailableException
public FunctionNotAvailableException(Class<?> function)
- Constructs a new exception with the specified parameters. The cause is
not initialized.
- Parameters:
function - The function not available is saved for later retrieval by the
getFunction() method.
FunctionNotAvailableException
public FunctionNotAvailableException(Class<?> function,
ITaskInstance instance)
- Constructs a new exception with the specified parameters. The cause is
not initialized.
- Parameters:
function - The function not available is saved for later retrieval by the
getFunction() method.instance - the task instance that was asked for the task function
getFunction
public Class<?> getFunction()
- Returns the requested function causing this exception.
- Returns:
- the causing unavailable function.
getMessage
public String getMessage()
- Overrides:
getMessage in class Throwable
Copyright © 2019. All rights reserved.