com.kuka.roboticsAPI.motionModel
Enum ErrorHandlingAction

java.lang.Object
  extended by java.lang.Enum<ErrorHandlingAction>
      extended by com.kuka.roboticsAPI.motionModel.ErrorHandlingAction
All Implemented Interfaces:
Serializable, Comparable<ErrorHandlingAction>

public enum ErrorHandlingAction
extends Enum<ErrorHandlingAction>

Error handling actions for asynchronous motions.


Enum Constant Summary
EndApplication
          Terminates the application with a suitable exception.
Ignore
          Removes the failed motion and all currently executing or queued motions from the motion queue, so that the robot application can be continued.
PauseMotion
          Removes the failed motion and all currently executing or queued motions from the motion queue and sets the application state to MotionPaused.
 
Method Summary
static ErrorHandlingAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ErrorHandlingAction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Ignore

public static final ErrorHandlingAction Ignore
Removes the failed motion and all currently executing or queued motions from the motion queue, so that the robot application can be continued.


PauseMotion

public static final ErrorHandlingAction PauseMotion
Removes the failed motion and all currently executing or queued motions from the motion queue and sets the application state to MotionPaused. The user must decide whether to terminate or continue the application.


EndApplication

public static final ErrorHandlingAction EndApplication
Terminates the application with a suitable exception.

Method Detail

values

public static ErrorHandlingAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ErrorHandlingAction c : ErrorHandlingAction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ErrorHandlingAction valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2019. All rights reserved.