Name
NotFoundReason
Synopsis
NotFoundReason
objects are used in NotFound
exceptions to indicate the
reason that an object binding was not found in a NamingContext
. It has
a value()
method which returns an int
that can be compared to its
three static int
members to determine the reason for the failure. A
value of _missing_node
indicates that an intermediate component of the
name specified was not found in the context, _not_context
indicates
that an intermediate component name was not bound to a NamingContext
,
and _not_object
indicates that an object was not bound to the final
component in the name.
public class NotFoundReason implements org.omg.CORBA.portable.IDLEntity { // Protected Constructors protected NotFoundReason( int value); // 1.4 // Public Constants public static final int _missing_node; // =0 public static final int _not_context; // =1 public static final int _not_object; // =2 public static final NotFoundReason missing_node; public static final NotFoundReason not_context; public static final NotFoundReason not_object; // Public Class Methods public static NotFoundReason from_int( int value); // Public Instance Methods public int value(); }
Passed To
NotFound.NotFound()
, NotFoundReasonHelper.{insert()
, write()}
, NotFoundReasonHolder.NotFoundReasonHolder()
Returned By
NotFoundReason.from_int()
, NotFoundReasonHelper.{extract()
, read()}
Type Of
NotFound.why
, NotFoundReason.{missing_node ...
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.