-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEnvironment.java
More file actions
61 lines (51 loc) · 1.12 KB
/
Copy pathEnvironment.java
File metadata and controls
61 lines (51 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
* Copyright (c) 1996, 1999, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package org.omg.CORBA;
/**
* A container (holder) for an exception that is used in <code>Request</code>
* operations to make exceptions available to the client. An
* <code>Environment</code> object is created with the <code>ORB</code>
* method <code>create_environment</code>.
*
* @since JDK1.2
*/
public abstract class Environment {
/**
* Retrieves the exception in this <code>Environment</code> object.
*
* @return the exception in this <code>Environment</code> object
*/
public abstract java.lang.Exception exception();
/**
* Inserts the given exception into this <code>Environment</code> object.
*
* @param except the exception to be set
*/
public abstract void exception(java.lang.Exception except);
/**
* Clears this <code>Environment</code> object of its exception.
*/
public abstract void clear();
}