Package org.oa4mp.di

Class DIServiceExceptionHandler.YAErr

  • Enclosing class:
    DIServiceExceptionHandler

    public static class DIServiceExceptionHandler.YAErr
    extends Object
    Yet Another Err type object. This links OA2Errors to StatusCodes. Note that not setting the message to null means that whatever description OA4MP generated will be used. These are generally very informative for system programmers but not necessarily so for end users. This allows customization.
    • Constructor Detail

      • YAErr

        public YAErr​(int code,
                     String message)
    • Method Detail

      • hasMessage

        public boolean hasMessage()