good explanation on broken pipe exception

A pipe is a data stream, typically data being read from a file or from a network socket. A broken pipe occurs when this pipe is suddenly closed from the other end. For a flie, this could be if the file is mounted on a disc or a remote network which has become disconnected. For a network socket, it could be if the network gets unplugged or the process on the other end crashes.

In Java, there is no BrokenPipeException specifically. This type of error will be found wrapped in a different exception, such as a SocketException or IOException.

from: http://stackoverflow.com/questions/3751661/what-is-the-meaning-of-broken-pipe-exception

for spring bean initiation, either default constructor or auto wired

great to confirm this, spring need either default constructor, or auto wired constructor

refer to http://stackoverflow.com/questions/9296849/spring-mvc-no-default-constructor-found

default constructor is common, then for example auto wired constructor:

@Service(value = "objectToMapConverter")
public class ObjectToMapConverter {
  
	
  private static final SimpleDateFormat SDF = new SimpleDateFormat("yyyy-MM-dd");
  private static final SimpleDateFormat SYD = new SimpleDateFormat("yyyy-MM-dd");
  static {
    SDF.setTimeZone(TimeZone.getTimeZone("Europe/London"));
    SYD.setTimeZone(TimeZone.getTimeZone("Australia/Sydney"));
  }
  
  private static ClientTransactionDao txDao;
  
  @Autowired
  public ObjectToMapConverter(ClientTransactionDao clientTransactionDao) {
	// TODO Auto-generated constructor stub
	  txDao = clientTransactionDao;
  }