1 23 package com.sun.appserv.management.base; 24 25 26 29 public interface OperationStatus extends MapCapable 30 { 31 35 public static final String THROWABLE_KEY = "ThrowableKey"; 36 37 42 public static final String STATUS_CODE_KEY = "StatusCodeKey"; 43 44 58 public int getStatusCode(); 59 60 66 public Throwable getThrowable(); 67 68 71 public final int STATUS_CODE_SUCCESS = 2; 72 73 76 public final int STATUS_CODE_FAILURE = 0; 77 78 81 public static final int STATUS_CODE_WARNING = 1; 82 } 83 84 85 86 87 88 89 90 91 | Popular Tags |