Class PlantUMLAction.Error

java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.langchain4j.image_to_diagram.actions.correction.PlantUMLAction.Error
All Implemented Interfaces:
Serializable
Enclosing class:
PlantUMLAction

public static class PlantUMLAction.Error extends Exception
Represents an error that occurred during the PlantUML code processing. This subclass extends `Exception` and includes additional information about the type of error.
See Also:
  • Constructor Details

    • Error

      public Error(String message, net.sourceforge.plantuml.ErrorUmlType type)
      Constructs a new `Error` instance with the given message and error type.
      Parameters:
      message - the detail message
      type - the type of the error
  • Method Details

    • getType

      public net.sourceforge.plantuml.ErrorUmlType getType()
      Gets the type of the error.
      Returns:
      the type of the error