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
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.sourceforge.plantuml.ErrorUmlType
getType()
Gets the type of the error.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Error
Constructs a new `Error` instance with the given message and error type.- Parameters:
message
- the detail messagetype
- 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
-