org.omg.CORBA
Class NO_RESOURCES
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.omg.CORBA.SystemException
org.omg.CORBA.NO_RESOURCES
- All Implemented Interfaces:
- Serializable
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. |
- See Also:
- Serialized Form
Constructor Summary |
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 message)
Creates a NO_RESOURCES with the default minor code of 0, completion state
COMPLETED_NO and the given explaining message. |
NO_RESOURCES(String a_reason,
int a_minor,
CompletionStatus a_completed)
Created NO_RESOURCES exception, providing full information. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.