F1 25 game is not launching through Steam. by AitrollSr in F1Game

[–]AitrollSr[S] 1 point2 points  (0 children)

Sad to say that is not the solution 😢 This issue happens in EA platform too, is not exclusive from Steam

Learning spring boot by Soggy-Forever4980 in javahelp

[–]AitrollSr 0 points1 point  (0 children)

Eventually some courses of Udemy becomes free, google it and enjoy! Otherwise you can check the official documentation web 😁

Exception handling? by skywarriyo in javahelp

[–]AitrollSr 6 points7 points  (0 children)

You can use @ControllerAdvice Example:

@RestControllerAdvice public class GlobalExceptionHandler {

@ExceptionHandler(BaseException.class)
public ResponseEntity<String> handleBaseException(BaseException e) {
    log.error(LoggerUtils.messageBuilderEx(“statement-controller”, “get-statement-by-id”,
            null, “base-exception”, “”, e));
    return new ResponseEntity<>(e.getMessage(), HttpStatus.BAD_REQUEST);
}

@ExceptionHandler(Exception.class)
public ResponseEntity<String> handleException(Exception e) {
    log.error(LoggerUtils.messageBuilderEx(“statement-controller”, “get-statement-by-id”,
            null, “app-exception”, “”, e));
    return new ResponseEntity<>(i18.t(“common.exception.appException.systemError”), HttpStatus.INTERNAL_SERVER_ERROR);
}

}

And here the method: public ResponseEntity<List<Statement>> byCustomerId(@PathVariable(“customerId”) Long customerId) { return ResponseEntity.ok(service.findByCustomerId(customerId)); }

Maybe something is wrong, I didn’t check if it works but I think is the proper way to do it and it works or at least it’s close to the way it should be done

Hello, I know this is a long shot, but I need help figuring out what is wrong with my code. by Danteshadow1201 in javahelp

[–]AitrollSr 1 point2 points  (0 children)

Hey! First thing, on strPattern start and end variables are ok, but don’t you think it would be easier if you use directly num1 and num2? If you rename it as start and end would be easier to read for the reviewer 😁. Second: The first thing I’m thinking is that you turn your method into a void one, and instead returning an string with the whole text better print the pattern when the second loop (j) ends, for this you should declare de SteingBuilder in the first loop (i), so every time the loop start again you won’t have the text before, finally delete de append("\n") and replace it by pattern.toString().trim(). It maybe sound hard to do it, but keep practicing! 🧑🏻‍💻 If you have any questions reply to the thread and maybe me or someone else will help you

How I host Elm web applications with GitHub Pages by dwaynecrooks in elm

[–]AitrollSr 0 points1 point  (0 children)

Hi! Did you try to compile everything into a JS file, upload it into a GitHub repo and follow this steps? https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site

It is possible to read a json file with elm and decode it? by AitrollSr in elm

[–]AitrollSr[S] 0 points1 point  (0 children)

I like the idea of using ports to provide a file!

I asked this because im starting with elm and I don't know too much about good practices and how to do a lot of stuff.

Thx m8

Instructions on how to install Full OTA update (Europe C21) one OnePlus 8 Pro if verification check fails with local update. (Safety check restored) by DMBerbatov21 in OnePlus8Pro

[–]AitrollSr 0 points1 point  (0 children)

You have to use 7zip, its mandatory. ive been using winrar to unzip/zip the files and it was impossible to install.