wm: java

ref: c38e733d9de9f416af3f1e629bc351c4723e2425
dir: /Bookproj/TakeErr.java/

View raw version
package Bookproj;

enum TakeErr {
    Ok,

    NoBook, /* no such book has found */
    BookReserved, /* book is reserved by someone else */
    NoBookReserved, /* no book is revserved */

    NoUser, /* no such user has found */
    UserHasABook, /* User has already registered a book */
    Age; /* age doesn't match */
}