Skip to content
Snippets Groups Projects
Verified Commit dba73808 authored by Réthelyi Bálint's avatar Réthelyi Bálint :no_mouth:
Browse files

change error message

parent c1132347
No related branches found
No related tags found
No related merge requests found
Pipeline #7440 passed
......@@ -91,9 +91,9 @@
Entity #1 moved to Asteroid #2
Sikeresen átmozogva Asteroid2-re.
f
f
f
A mozgás nem sikerült.
A mozgás nem sikerült.
A mozgás nem sikerült.
\end{verbatim}
\end{itemize}
......
......@@ -128,7 +128,7 @@ public abstract class Entity implements Ticker {
var i = Integer.parseInt(args[0]);
var neighbours = asteroid.getNeighbours();
if (i >= neighbours.size()) {
throw new Exception("f"); // TODO: exception message!!!!
throw new Exception("A mozgás nem sikerült."); // TODO: exception message!!!!
}
var n = neighbours.get(i);
var b = move(n);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment