From cf04d21e5ff3b9cbda26400955265de26efec729 Mon Sep 17 00:00:00 2001 From: Alexandra Roatis Date: Thu, 21 Mar 2019 15:01:28 -0400 Subject: [PATCH] Re #856: created SystemExitCodes.java for defining codes used at system exit --- modAionImpl/src/org/aion/zero/impl/SystemExitCodes.java | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 modAionImpl/src/org/aion/zero/impl/SystemExitCodes.java diff --git a/modAionImpl/src/org/aion/zero/impl/SystemExitCodes.java b/modAionImpl/src/org/aion/zero/impl/SystemExitCodes.java new file mode 100644 index 0000000000..f77ea4d9c8 --- /dev/null +++ b/modAionImpl/src/org/aion/zero/impl/SystemExitCodes.java @@ -0,0 +1,8 @@ +package org.aion.zero.impl; + +/** Error coded to be used when calling {@link System#exit(int)} from the kernel. */ +public class SystemExitCodes { + + public static final int NORMAL = 0; + public static final int OUT_OF_DISK_SPACE = 1; +}