1 26 27 package com.opensugar.cube.serviceRegistry; 28 29 public class ServiceRegistryException extends Exception { 32 33 private Throwable nestedException; 34 35 public ServiceRegistryException( String message ) { 36 super( message ); 37 } 38 39 public ServiceRegistryException( String message, Throwable nestedException ) { 40 this( message ); 41 this.nestedException = nestedException; 42 } 43 44 protected Throwable getNestedException() { 45 return nestedException; 46 } 47 48 } | Popular Tags |