1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the GNU General Public License v3+, or later.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package com
.nttdocomo
.ui
;
12 import cc
.squirreljme
.runtime
.cldc
.annotation
.Api
;
15 * This is thrown when there is an exception in the code.
20 public class UIException
21 extends RuntimeException
24 public static final int BUSY_RESOURCE
= 3;
27 public static final int ILLEGAL_STATE
= 1;
30 public static final int NO_RESOURCES
= 2;
33 public static final int STATUS_FIRST
= 0;
36 public static final int STATUS_LAST
= 63;
39 public static final int UNDEFINED
= 0;
42 public static final int UNSUPPORTED_FORMAT
= 4;
44 /** Represents the status of the exception. */
45 private final int _status
;
50 this(UIException
.UNDEFINED
);
54 public UIException(int __status
)
60 public UIException(int __status
, String __message
)
64 this._status
= __status
;
68 public int getStatus()