Code example for UnknownUnwrapTypeException

0
		} 
		else if ( ConnectionProvider.class.isAssignableFrom( unwrapType ) ) {
			return (T) actualConnectionProvider;
		} 
		else { 
			throw new UnknownUnwrapTypeException( unwrapType );
		} 
	} 
 
   public static ConnectionProvider getActualConnectionProvider() {
      return actualConnectionProvider;
   } 
 
   public void setNodeId(String nodeId) throws HibernateException {
      if (nodeId == null) {
         throw new HibernateException( "nodeId not configured" );
	  } 
	  this.nodeId = nodeId;
   } 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE