1 23 package com.sun.enterprise.server.ss.provider; 24 25 public class PortConflictException extends Exception { 26 private int port = 0; 27 public PortConflictException(int port, Exception e) { 28 super(e); 29 this.port = port; 30 } 31 public PortConflictException(int port, String msg) { 32 super( msg ); 33 this.port = port; 34 } 35 public PortConflictException(int port, String msg, Exception e) { 36 super( msg, e ); 37 this.port = port; 38 } 39 public int getConflictedPort() { 40 return this.port; 41 } 42 } 43 | Popular Tags |