1 26 27 28 package org.objectweb.mobilitools.util.corba; 29 30 31 public class NameServiceException extends Exception  32 { 33 public java.lang.Object exception = null; 34 35 36 public NameServiceException() 37 { 38 exception = null; 39 } 40 41 42 public NameServiceException(java.lang.Object the_exception) 43 { 44 exception = the_exception; 45 } 46 47 48 public String toString() 49 { 50 if (exception != null) 51 { 52 return "Name Service utility external exception: "+exception.toString(); 53 } 54 else 55 { 56 return "Name Service utility internal exception."; 57 } 58 } 59 } 60 | Popular Tags |