com.kuka.exceptions
Class MotionExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.kuka.exceptions.MotionException
                  extended by com.kuka.exceptions.MotionExecutionException
All Implemented Interfaces:
Serializable

public class MotionExecutionException
extends MotionException

Exception thrown while execution of a motion with a known motion container.

See Also:
Serialized Form

Constructor Summary
MotionExecutionException(IMotionContainer container, String message)
          Creates an instance of ExecutionException class.
MotionExecutionException(IMotionContainer container, String message, Throwable cause)
          Creates an instance of ExecutionException class.
 
Method Summary
 IMotionContainer getMotionContainer()
          Returns the motion container associated with this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MotionExecutionException

public MotionExecutionException(IMotionContainer container,
                                String message)
Creates an instance of ExecutionException class.

Parameters:
container - the failed motion container
message - The error description.

MotionExecutionException

public MotionExecutionException(IMotionContainer container,
                                String message,
                                Throwable cause)
Creates an instance of ExecutionException class.

Parameters:
container - the failed motion container
message - The error description.
cause - A cause that is responsible for the error.
Method Detail

getMotionContainer

public IMotionContainer getMotionContainer()
Returns the motion container associated with this exception.

Returns:
associated motion container


Copyright © 2019. All rights reserved.