Package org.kie.internal.task.exception

## Class TaskError

- java.lang.Object
- - org.kie.internal.task.exception.TaskError

- All Implemented Interfaces:
    `java.io.Externalizable`, `java.io.Serializable`

      public class TaskError
      extends java.lang.Object
      implements java.io.Externalizable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `TaskError()` |
    `TaskError​(java.lang.String msg)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getMessage()` |
    `void` | `readExternal​(java.io.ObjectInput in)` |
    `void` | `writeExternal​(java.io.ObjectOutput out)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TaskError

          public TaskError()

    - #### TaskError

          public TaskError​(java.lang.String msg)

  - ### Method Detail

    - #### writeExternal

          public void writeExternal​(java.io.ObjectOutput out)
                             throws java.io.IOException

      Specified by:
        `writeExternal` in interface `java.io.Externalizable`
      Throws:
        `java.io.IOException`

    - #### readExternal

          public void readExternal​(java.io.ObjectInput in)
                            throws java.io.IOException,
                                   java.lang.ClassNotFoundException

      Specified by:
        `readExternal` in interface `java.io.Externalizable`
      Throws:
        `java.io.IOException`
        `java.lang.ClassNotFoundException`

    - #### getMessage

          public java.lang.String getMessage()