1. /*
  2. * @(#)MinorCodes.java 1.17 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.internal.Activation;
  8. import com.sun.corba.se.internal.orbutil.ORBConstants;
  9. /**
  10. * Minor codes for CORBA system-exceptions. These codes are marshalled
  11. * on the wire and allow the client to know the exact cause of the exception.
  12. * The minor code numbers for POA/JavaIDLx start with 101 to distinguish
  13. * them from JavaIDL minor codes which start from 1.
  14. *
  15. * @version 1.17, 04/02/22
  16. * @author Rohit Garg
  17. * @since JDK1.2
  18. */
  19. public final class MinorCodes {
  20. // INITIALIZE exception minor codes
  21. public static final int CANNOT_READ_REPOSITORY_DB = ORBConstants.ACTIVATION_BASE +1;
  22. public static final int CANNOT_ADD_INITIAL_NAMING = ORBConstants.ACTIVATION_BASE +2;
  23. // INTERNAL
  24. public static final int CANNOT_WRITE_REPOSITORY_DB = ORBConstants.ACTIVATION_BASE +1;
  25. public static final int SERVER_NOT_EXPECTED_TO_REGISTER = ORBConstants.ACTIVATION_BASE +3;
  26. public static final int UNABLE_TO_START_PROCESS = ORBConstants.ACTIVATION_BASE +4;
  27. public static final int SERVER_IS_HELD_DOWN = ORBConstants.ACTIVATION_BASE +5;
  28. public static final int SERVER_NOT_RUNNING = ORBConstants.ACTIVATION_BASE +6;
  29. //
  30. }