1 9 package org.jboss.remoting; 10 11 18 public class SubsystemNotSupported extends Exception  19 { 20 private String subsystem; 21 private InvokerLocator locator; 22 23 public SubsystemNotSupported(String subsystem, InvokerLocator locator) 24 { 25 super("Subsystem '" + subsystem + "' not supported on target VM (" + locator + ")"); 26 this.subsystem = subsystem; 27 this.locator = locator; 28 } 29 30 public String getSubsystem() 31 { 32 return subsystem; 33 } 34 35 public InvokerLocator getLocator() 36 { 37 return locator; 38 } 39 } 40 | Popular Tags |