org.omg.CORBA

Class NO_RESOURCES

public final class NO_RESOURCES extends SystemException implements Serializable

Means that the ORB has reached some general resource limitation like maximal number of the opened connections. In GNU Classpath, this exception may have the following minor codes:
Hex Dec Minor Name Case
47430014 1195573268 20 Ports No more free ports available for the new objects. The port control, if turned on, prevents malicios client from knocking the server out by suddenly requiring to allocate a very large number of objects.
47430015 1195573269 21 Threads Too many parallel calls (too many parallel threads). The thread control, if turned on, prevents malicios client from knocking the server out by suddenly submitting a very large number of requests.
Constructor Summary
NO_RESOURCES(String message)
Creates a NO_RESOURCES with the default minor code of 0, completion state COMPLETED_NO and the given explaining message.
NO_RESOURCES()
Creates NO_RESOURCES with the default minor code of 0 and a completion state COMPLETED_NO.
NO_RESOURCES(int a_minor, CompletionStatus a_completed)
Creates a NO_RESOURCES exception with the specified minor code and completion status.
NO_RESOURCES(String a_reason, int a_minor, CompletionStatus a_completed)
Created NO_RESOURCES exception, providing full information.

Constructor Detail

NO_RESOURCES

public NO_RESOURCES(String message)
Creates a NO_RESOURCES with the default minor code of 0, completion state COMPLETED_NO and the given explaining message.

Parameters: message the explaining message.

NO_RESOURCES

public NO_RESOURCES()
Creates NO_RESOURCES with the default minor code of 0 and a completion state COMPLETED_NO.

NO_RESOURCES

public NO_RESOURCES(int a_minor, CompletionStatus a_completed)
Creates a NO_RESOURCES exception with the specified minor code and completion status.

Parameters: a_minor additional error code. a_completed the method completion status.

NO_RESOURCES

public NO_RESOURCES(String a_reason, int a_minor, CompletionStatus a_completed)
Created NO_RESOURCES exception, providing full information.

Parameters: a_reason explaining message. a_minor additional error code (the "minor"). a_completed the method completion status.