com.kuka.roboticsAPI.executionModel
Class ExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.kuka.roboticsAPI.executionModel.ExecutionException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ApplicationExitException, CancelledException, CommandInvalidException, CommandNotStartedException, ExternalStopException
public class ExecutionException
- extends RuntimeException
Exception that should be thrown if some error occurs during execution of a
command.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ExecutionException
public ExecutionException(ICommandContainer container,
String message)
- Creates an instance of ExecutionException class.
- Parameters:
container - The execution container that was executed when error occurred.message - The error description.
ExecutionException
public ExecutionException(ICommandContainer container,
String message,
Throwable cause)
- Creates an instance of ExecutionException class.
- Parameters:
container - The execution container that was executed when error occurred.message - The error description.cause - A cause that is responsible for the error.
getContainer
public ICommandContainer getContainer()
- Gets the execution container associated with this exception.
- Returns:
- Gets the execution container associated with this exception.
Copyright © 2019. All rights reserved.