Package net.mcreator.gradle
Class GradleErrorDecoder
java.lang.Object
net.mcreator.gradle.GradleErrorDecoder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
doesErrorSuggestRerun
(String errortext) static boolean
isErrorCausedByCorruptedCaches
(String errortext) static int
processErrorAndShowMessage
(String out, String err, MCreator whereToShow) This method tries to decode task result based on given parameters, returns status code and shows error message if error is detected
-
Constructor Details
-
GradleErrorDecoder
public GradleErrorDecoder()
-
-
Method Details
-
processErrorAndShowMessage
This method tries to decode task result based on given parameters, returns status code and shows error message if error is detected- Parameters:
out
- String containing data from out streamerr
- String containing data from err streamwhereToShow
- Parent window on which to show the error dialog- Returns:
- One of GradleTaskResult status codes, STATUS_UNKNOWN if GradleErrorDecoder can't decide the type of error
-
isErrorCausedByCorruptedCaches
-
doesErrorSuggestRerun
-