wm: java

ref: 3642ff2c921852babc8be83d5614fbadd32a8818
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 */
}